Welcome! Log In Create A New Profile

Advanced

https прокси

August 20, 2010 08:21AM
nginx выступает фронтом к mongrel. по http все работает отлично. Попытался настроить на nginx https, чтобы связка выглядела так
client -> HTTPS Nginx -> http Mongrel. при попытке соединения браузер выдает
"SSL получило запись, длина которой превышает максимально допустимую.
(Код ошибки: ssl_error_rx_record_too_long)"

при соединении с локальной машины
vps02:~# openssl s_client -connect xxxxxxxx.ru:443
CONNECTED(00000003)
2484:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:567:

Можно заставить такую связку работать ?

конфиг
server {
listen 443;
server_name xxxxxxx.ru;
ssl on;
ssl_protocols SSLv3 TLSv1;
ssl_certificate /etc/nginx/ssl/cert.pem;
ssl_certificate_key /etc/nginx/ssl/cert.key;
location ~ /.svn/ {
deny all;
}
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:3000/;
}
}
Subject Author Posted

https прокси

InG0d August 20, 2010 08:21AM

Re: https прокси

Илья Шипицин August 20, 2010 03:24PM

Re: https прокси

Gena Makhomed August 20, 2010 03:42PM

Re: https прокси

Илья Шипицин August 21, 2010 02:12AM

Re: https прокси

big bond August 21, 2010 02:32AM

Re: https прокси

Igor Sysoev August 21, 2010 02:36AM

Re: https прокси

Igor Sysoev August 21, 2010 02:34AM

Re: https прокси

maty September 17, 2010 07:22PM

Re: https прокси

maty September 17, 2010 07:45PM

Re: https прокси

Alex Vorona September 18, 2010 01:34AM

Re: https прокси

maty September 18, 2010 09:06AM

Re: https прокси

InG0d August 21, 2010 03:07AM

Re: https прокси

InG0d August 21, 2010 04:56AM

Re: https прокси

Igor Sysoev August 21, 2010 03:38AM

Re: https прокси

Sergey Shepelev August 21, 2010 11:40AM

Re: https прокси

InG0d August 21, 2010 11:46AM

Re: https прокси

Igor Sysoev August 21, 2010 11:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 51
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready