@fallback is not working in version 1.0.4?
Jonathan Leibiusky
ionathan at gmail.com
Tue Nov 8 18:36:14 UTC 2011
Hi! I'm using nginx 1.0.4 and I have the following configuration:
server {
listen 8080;
server_name xxx.yyy.com;
location / {
error_page 500 502 503 @fallback;
proxy_pass http://upstream1;
}
location @fallback {
proxy_pass http://upstream2;
}
}
And for some reason I don't get to upstream2 even if requests from
upstream1 are 500.
Am I doing something wrong?
Thanks!
Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20111108/8e5e3093/attachment.html>
More information about the nginx
mailing list