<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">It seems that nginx can accept PROXY protocol fine, but when it comes to forwarding, it can only do so only within a <font face="Courier New" class="">stream { server { … proxy_protocol on; } }</font> .<div class=""><br class=""></div><div class="">Are there any plans to add <font face="Courier New" class="">proxy_protocol on;</font> for regular HTTP server blocks so it can be used alongside <font face="Courier New" class="">proxy_pass</font>? This would come in very handy in a situation where NGINX is used as SSL terminator, e.g.:</div><div class=""><br class=""></div><div class="">NGINX (SSL) → (Proxy protocol) → Varnish.</div><div class=""><br class=""></div><div class="">Varnish supports accepting PROXY protocol. </div><div class=""><br class=""></div><div class=""><br class=""><div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Best Regards,</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Danila</div></div>
</div>
<br class=""></div></div></body></html>