v1.1.19 Https SSL Stream Timeout and 502
fabian_uy
nginx-forum at forum.nginx.org
Thu Sep 28 16:59:15 UTC 2017
Hello, I have nginx v 1.1.19 Im trying to configure one revese proxy with an
outside ip, I had many problems who its being registered in the log
showing:
connect() failed (110: Connection timed out) while connecting to upstream
and
SSL_do_handshake() failed (SSL: error:140770FC:SSL
routines:SSL23_GET_SERVER_HELLO:unknown protocol
depending if I change in the upstream the :443 post number after the ip
example externalip:443.
Some help to know the wrong parameter o what´s more I need to add.
Thanks in advance.
The config file is:
server {
listen ip:443 ssl;
ssl on;
root /var/www;
ssl_certificate /etc/nginx/certs/3/server.crt;
ssl_certificate_key /etc/nginx/certs/3/server.key;
ssl_protocols SSLv2 SSLv3 TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers RC4:HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
keepalive_timeout 60;
ssl_session_cache shared:SSL:10m;
ssl_verify_client off;
proxy_ssl_session_reuse on;
ssl_session_timeout 10m;
large_client_header_buffers 4 32K;
access_log /var/log/nginx/ssl.access.log combinedhackmultiple;
error_log /var/log/nginx/ssl.error.log;
location / {
proxy_pass https://nametoacessexternalssl;
}
}
And the upstream is:
upstream nametoacessexternalssl{
server externalipaddress:443;
}
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,276607,276607#msg-276607
More information about the nginx
mailing list