Re: Upstream Fallback if Backends can´t be reached

Brian Akins brian at akins.org
Fri Dec 16 00:29:27 UTC 2011


>    location /org {
>      proxy_pass http://org;
>    }
>   


Something like:

proxy_intercept_errors on;

   location /org {
     proxy_pass http://org;
     error_page 502 503 504 /error/page.html
   }

 location /error {
  root /path/to/my/error/pages;
}


Maybe?
 Probably have typos, done from memory



More information about the nginx mailing list