Welcome! Log In Create A New Profile

Advanced

Re: Nginx map assigned variable usage in upstream?

February 24, 2022 06:28AM
'$pool' variable will be created just after the request come. This is how the 'map' works.
To make this work you will have to use this variable in "proxy_pass".
=======
server {
.....
proxy_pass http://$pool;
}
=======
Subject Author Posted

Nginx map assigned variable usage in upstream?

George February 24, 2022 06:19AM

Re: Nginx map assigned variable usage in upstream?

OS_Killer February 24, 2022 06:28AM

Re: Nginx map assigned variable usage in upstream?

OS_Killer February 24, 2022 06:31AM

Re: Nginx map assigned variable usage in upstream?

George February 24, 2022 06:45AM

Re: Nginx map assigned variable usage in upstream?

OS_Killer February 24, 2022 06:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 257
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready