Welcome! Log In Create A New Profile

Advanced

Re: Proxy Pass based on the first field in the URI

September 14, 2019 06:17PM
PS: If, like you mentioned in the other reply message, want to create environments dynamically, you could use the map directive with an include file that is dynamically updated by the deployment process of such an environment (and then do nginx -s reload), but even more elegant would be the replacement of the (static) map by a (dynamic) keyval map. The keyval mappings can be maintained via the NGINX API, so you won't need reloads of NGINX in the event of updates. The use of the keyval map is identical to the map directive, except the definition would use a keyval zone.

Cheers,
--j.
Subject Author Posted

Proxy Pass based on the first field in the URI

meir hazon September 11, 2019 10:46AM

Re: Proxy Pass based on the first field in the URI

Francis Daly September 11, 2019 11:48AM

Re: Proxy Pass based on the first field in the URI

meir hazon September 11, 2019 02:42PM

Re: Proxy Pass based on the first field in the URI

Francis Daly September 11, 2019 05:50PM

Re: Proxy Pass based on the first field in the URI

meir hazon September 12, 2019 03:36AM

Re: Proxy Pass based on the first field in the URI

meir hazon September 12, 2019 03:42AM

Re: Proxy Pass based on the first field in the URI

j94305 September 11, 2019 11:55AM

Re: Proxy Pass based on the first field in the URI

meir hazon September 11, 2019 02:44PM

Re: Proxy Pass based on the first field in the URI

j94305 September 14, 2019 06:17PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 50
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