Re: https

chipitsine gmail.com
20 23:22:48 MSD 2010


listen 443 ssl;

2010/8/20 InG0d <nginx-forum  nginx.us>:
> 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/;
>    }
>  }
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?21,121698,121698#msg-121698
>
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru  nginx.org
> http://nginx.org/mailman/listinfo/nginx-ru
>


nginx-ru