Ignore:
Timestamp:
01/14/08 11:39:07 (4 years ago)
Author:
Tomash Brechko <tomash.brechko@…>
Branches:
master-v0.7, master-v0.6, next_upstream, upstream_count_limit
Children:
66a597
Parents:
a64318
git-author:
Tomash Brechko <tomash.brechko@…> (01/14/08 11:34:55)
git-committer:
Tomash Brechko <tomash.brechko@…> (01/14/08 11:39:07)
Message:

Add "http_502" and others to proxy_next_upstream/fastcgi_next_upstream.

Add support for "http_502", "http_503", "http_504" parameters in
"proxy_next_upstream" and "fastcgi_next_upstream" directives.

Patch by Maxim Dounin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/src/http/modules/ngx_http_proxy_module.c

    ra64318 r1abb3d  
    134134    { ngx_string("invalid_header"), NGX_HTTP_UPSTREAM_FT_INVALID_HEADER }, 
    135135    { ngx_string("http_500"), NGX_HTTP_UPSTREAM_FT_HTTP_500 }, 
     136    { ngx_string("http_502"), NGX_HTTP_UPSTREAM_FT_HTTP_502 }, 
    136137    { ngx_string("http_503"), NGX_HTTP_UPSTREAM_FT_HTTP_503 }, 
     138    { ngx_string("http_504"), NGX_HTTP_UPSTREAM_FT_HTTP_504 }, 
    137139    { ngx_string("http_404"), NGX_HTTP_UPSTREAM_FT_HTTP_404 }, 
    138140    { ngx_string("off"), NGX_HTTP_UPSTREAM_FT_OFF }, 
Note: See TracChangeset for help on using the changeset viewer.