Re: https прокси
Alex Vorona
voron на amhost.net
Сб Сен 18 09:32:21 MSD 2010
18.09.2010 02:22, maty wrote:
[...]
> server {
> listen 4444;
> server_name localhost servername.amazonaws.com;
> location / {
> root html;
> index index.html index.htm;
> }
> error_page 500 502 503 504 /50x.html;
> location = /50x.html {
> root html;
> }
> server {
> listen 443;
> server_name servername.amazonaws.com;
> ssl on;
> ssl_certificate /usr/local/nginx/conf/newcert.pem;
> ssl_certificate_key /usr/local/nginx/conf/newkey.nopass.pem;
> access_log logs/ssl_access.log;
> error_log logs/ssl_error.log debug;
> ssl_session_timeout 5m;
> ssl_protocols SSLv2 SSLv3 TLSv1;
> ssl_ciphers
> ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;
> ssl_prefer_server_ciphers on;
> location / {
> root html;
> index index.html index.htm;
> }
> }
>
> }
>
> FF3 при доступе к https://amazonaws.com:4444 выдает:
>
> SSL received a record that exceeded the maximum permissible length.
> (Error code: ssl_error_rx_record_too_long)
Потому что на amazonaws.com:4444 не включен ssl. Включите ssl, как это сделано на
amazonaws.com:443 или открывайте http://amazonaws.com:4444 в FF3
Подробная информация о списке рассылки nginx-ru