Proxy Retry Logic
Eugaia
ngx.eugaia at gmail.com
Thu Dec 23 05:36:34 MSK 2010
Hi,
On 23/12/2010 04:25, Sirsiwal, Umesh wrote:
> 0/12/22 20:48:52 [debug] 1637#0: *3 try to use file: "@sub2" "/Users/umesh/nginx/install/html at sub2"
> At least according to this e-mail http://forum.nginx.org/read.php?2,28297 chain, it seems I cannot use named locations in try_files directory except as the last location.
Yes. Sorry - forgot.
How about returning different status codes from your proxies instead,
then have various error_page 434 = @named declarations? You'll
probably need to have recursive_error_pages
(http://wiki.nginx.org/HttpCoreModule#recursive_error_pages) on to work
correctly.
I think error pages can be defined with non-standard error codes.
Marcus.
More information about the nginx-devel
mailing list