Hi, I'm sorry but I mistakenly claimed to work the patch:

#if (NGX_HTTP_SSL) 
if (c->ssl || port == 443) { 
*b->last++ ='s'; 
} 
#endif 

In order to work nginx needs this config:
        server {
                listen 127.0.0.1:443            proxy_protocol;
                port_in_redirect                        on;

and stunnel:
[tls to http]
sni = tls:*
connect = 127.0.0.1:443
protocol = proxy

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?2,269623,269644#msg-269644

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to