can somebody give me an example for proxy_next_upstream

Maxim Dounin mdounin at mdounin.ru
Wed Aug 8 15:07:40 MSD 2007


Hello!

On Wed, 8 Aug 2007, you wrote:

> can somebody give me an  example for proxy_next_upstream
> thanks all~

Default - connect to next upstream if we've failed to get
any answer:

proxy_next_upstream error timeout;

In addition to the above, connect to next upstream if no file found on the 
upstream:

proxy_next_upstream error timeout http_404;


Documentation in English are here:
http://wiki.codemongers.com/NginxHttpProxyModule#proxy_next_upstream


Maxim Dounin





More information about the nginx mailing list