Hello Maxim, thanks a lot, the proxy send the header only on http, my mistake sorry.
On 21.06.19 16:05, Maxim Dounin wrote: > Hello! > > On Fri, Jun 21, 2019 at 03:46:53PM +0200, basti wrote: > >> I have nginx 1.14.2 on debian buster and need to enable proxy_protocol. >> (https://docs.nginx.com/nginx/admin-guide/load-balancer/using-proxy-protocol/#listen) >> >> When I enable it on http all is fine. When i try to enable it on https >> no connection can be established. No syntax error and no log entry. >> >> listen 80 proxy_protocol; <-- work >> >> listen 443 proxy_protocol; <-- does not work > > The PROXY protocol impies that there should be a PROXY protocol > header before the actual SSL handshake. As such, it might not be > trivial to establish an SSL connection to such a socket unless > you are doing so via a proxy which adds PROXY protocol headers. > _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx