summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_core_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2010-08-03 09:24:25 +0000
committerIgor Sysoev <igor@sysoev.ru>2010-08-03 09:24:25 +0000
commit90f95522a550cc9d8da7971af05d9f837788d19f (patch)
tree2114b0be896408bab4d6a6c4d0fd20dd8050055d /src/http/ngx_http_core_module.c
parent0ec5492189447f46192aab5c3b2bae86f37ed8ac (diff)
downloadnginx-90f95522a550cc9d8da7971af05d9f837788d19f.tar.gz
nginx-90f95522a550cc9d8da7971af05d9f837788d19f.tar.bz2
inherit proxy_pass, fastcgi_pass, uwsgi_pass, scgi_pass inside
a limit_except block if no handler was defined for the block
Diffstat (limited to 'src/http/ngx_http_core_module.c')
-rw-r--r--src/http/ngx_http_core_module.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index 356e64810..6a11a8724 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -3908,6 +3908,7 @@ ngx_http_core_limit_except(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
clcf->loc_conf = ctx->loc_conf;
clcf->name = pclcf->name;
clcf->noname = 1;
+ clcf->lmt_excpt = 1;
if (ngx_http_add_location(cf, &pclcf->locations, clcf) != NGX_OK) {
return NGX_CONF_ERROR;