Mercurial > hg > nginx
comparison src/http/ngx_http_core_module.c @ 3731:72cc5b789021
inherit proxy_pass, fastcgi_pass, uwsgi_pass, scgi_pass inside
a limit_except block if no handler was defined for the block
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 03 Aug 2010 09:24:25 +0000 |
parents | c62a2683bfbf |
children | 3ee39f593642 |
comparison
equal
deleted
inserted
replaced
3730:d094e237abf4 | 3731:72cc5b789021 |
---|---|
3906 clcf = ctx->loc_conf[ngx_http_core_module.ctx_index]; | 3906 clcf = ctx->loc_conf[ngx_http_core_module.ctx_index]; |
3907 pclcf->limit_except_loc_conf = ctx->loc_conf; | 3907 pclcf->limit_except_loc_conf = ctx->loc_conf; |
3908 clcf->loc_conf = ctx->loc_conf; | 3908 clcf->loc_conf = ctx->loc_conf; |
3909 clcf->name = pclcf->name; | 3909 clcf->name = pclcf->name; |
3910 clcf->noname = 1; | 3910 clcf->noname = 1; |
3911 clcf->lmt_excpt = 1; | |
3911 | 3912 |
3912 if (ngx_http_add_location(cf, &pclcf->locations, clcf) != NGX_OK) { | 3913 if (ngx_http_add_location(cf, &pclcf->locations, clcf) != NGX_OK) { |
3913 return NGX_CONF_ERROR; | 3914 return NGX_CONF_ERROR; |
3914 } | 3915 } |
3915 | 3916 |