I saw some nginx configs written like this:
location ~ {
…
proxy_pass http://upstream1;
proxy_pass http://upstream2;
…
}
What this config meaning? proxy_pass to upstream2 if proxy_pass to
upstream fails?
Thanks.
Posted at Nginx Forum:
I saw some nginx configs written like this:
location ~ {
…
proxy_pass http://upstream1;
proxy_pass http://upstream2;
…
}
What this config meaning? proxy_pass to upstream2 if proxy_pass to
upstream fails?
Thanks.
Posted at Nginx Forum:
sorry. typo.
proxy_pass to upstream2 if proxy_pass to upstream1 fails?
Posted at Nginx Forum:
On Sat, Jun 25, 2011 at 03:37:17AM -0400, speedfirst wrote:
upstream fails?
This is a wrong configuration, as well as
location ... {
proxy_pass ...
fastcgi_pass ...
}
nginx currently does not report this is as error.
–
Igor S.
so what will happen if config like this? Only the 2nd proxy_pass takes
effect?
Posted at Nginx Forum:
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs