Welcome! Log In Create A New Profile

Advanced

Re: Enable proxy_protocol on https

Maxim Dounin
June 21, 2019 10:06AM
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.

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Enable proxy_protocol on https

basti June 21, 2019 09:48AM

Re: Enable proxy_protocol on https

Maxim Dounin June 21, 2019 10:06AM

Re: Enable proxy_protocol on https

basti June 21, 2019 10:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 186
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready