]> git.kaiwu.me - nginx.git/commit
Upstream: http_403 support in proxy_next_upstream (and friends).
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 27 May 2013 12:54:09 +0000 (16:54 +0400)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 27 May 2013 12:54:09 +0000 (16:54 +0400)
commit1a983a0c05594b55e95ebbda15611f0bc2930ec7
tree15cefbb2d2ec06faf878541304a60bba4f31b1a3
parentcc3c0ce87092d998682a20e597db0bf7d6dac009
Upstream: http_403 support in proxy_next_upstream (and friends).

The parameter is mostly identical to http_404, and is expected to
be used in similar situations.  The 403 code might be returned by
a backend instead of 404 on initial sync of new directories with rsync.

See here for feature request and additional details:
http://mailman.nginx.org/pipermail/nginx-ru/2013-April/050920.html
src/http/modules/ngx_http_fastcgi_module.c
src/http/modules/ngx_http_proxy_module.c
src/http/modules/ngx_http_scgi_module.c
src/http/modules/ngx_http_uwsgi_module.c
src/http/ngx_http_upstream.c
src/http/ngx_http_upstream.h