Welcome! Log In Create A New Profile

Advanced

[PATCH] Clarify proxy modules $proxy_host variable content

Jack Henschel
December 04, 2018 11:02AM
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

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH] Clarify proxy modules $proxy_host variable content

Jack Henschel 51 December 04, 2018 11:02AM

Re: [PATCH] Clarify proxy modules $proxy_host variable content

Maxim Dounin 14 December 10, 2018 12:40PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 69
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready