[PATCH] Clarify proxy modules $proxy_host variable content

Jack Henschel jackdev at mailbox.org
Tue Dec 4 16:00:10 UTC 2018


Hello,

>From the current documentation it was not immediately obvious (at least
to me and my colleague) that nginx does not set the $proxy_host variable
to the hosts specified in an upstream block, but literally uses the name
used in the proxy_pass directive.

Maxim Dounin has explained to me the reason for this [1], nevertheless I
think it is worthwhile explicitly adding this behavior to the documentation.

Regards
Jack

[1] http://mailman.nginx.org/pipermail/nginx/2018-November/057184.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: docs-clarify-proxy-host-variable-content.patch
Type: text/x-patch
Size: 1970 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20181204/84d291d7/attachment-0001.bin>


More information about the nginx-devel mailing list