PROXY protocol to upstream server

Danila Vershinin ciapnz at
Sun Aug 12 20:33:25 UTC 2018


It seems that nginx can accept PROXY protocol fine, but when it comes to forwarding, it can only do so only within a stream { server { … proxy_protocol on; } } .

Are there any plans to add proxy_protocol on; for regular HTTP server blocks so it can be used alongside proxy_pass? This would come in very handy in a situation where NGINX is used as SSL terminator, e.g.:

NGINX (SSL) → (Proxy protocol) → Varnish.

Varnish supports accepting PROXY protocol.

Best Regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <>

More information about the nginx mailing list