Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: https прокси
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 mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|