Welcome! Log In Create A New Profile

Advanced

SSL en upstream timeout

Posted by fabian_uy 
SSL en upstream timeout
September 27, 2017 11:44AM
Hola, tengo un Nginx 1.1.19 estoy intentando dejar un proxy reveso para una dirección ssl fuera, he tenido problemas cuando registra en el log son los siguientes:

connect() failed (110: Connection timed out) while connecting to upstream y
SSL_do_handshake() failed (SSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
dependiendo de la configuración del nginx.

Cual es el detalle que me está fallando?
Gracias de antemano,
Saludos

Mi config es:
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://sitiossl;
}
}
En el upstream:
upstream sitiossl{
server direccionip:443;
}
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 90
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