[PATCH] Clarify proxy modules $proxy_host variable content
Maxim Dounin
mdounin at mdounin.ru
Mon Dec 10 17:38:33 UTC 2018
Hello!
On Tue, Dec 04, 2018 at 05:00:10PM +0100, Jack Henschel wrote:
> 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.
Thank you for your patch. It looks too explicit for me though.
--
Maxim Dounin
http://mdounin.ru/
More information about the nginx-devel
mailing list