aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-12-14 22:13:33 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-12-14 22:13:33 +0000
commit55269a70cfe9f17e3bcb4030cebf80798d6f40c8 (patch)
tree2944cea54a503253f8560f0141c6b3a850a0900a
parentacbcd9da7f10e73be9127984d037fadf38b3f611 (diff)
downloadnginx-55269a70cfe9f17e3bcb4030cebf80798d6f40c8.tar.gz
nginx-55269a70cfe9f17e3bcb4030cebf80798d6f40c8.zip
allow "perl" inside "limit_except"
-rw-r--r--src/http/modules/perl/ngx_http_perl_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/perl/ngx_http_perl_module.c b/src/http/modules/perl/ngx_http_perl_module.c
index fb1642051..29296b6a2 100644
--- a/src/http/modules/perl/ngx_http_perl_module.c
+++ b/src/http/modules/perl/ngx_http_perl_module.c
@@ -86,7 +86,7 @@ static ngx_command_t ngx_http_perl_commands[] = {
NULL },
{ ngx_string("perl"),
- NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
+ NGX_HTTP_LOC_CONF|NGX_HTTP_LMT_CONF|NGX_CONF_TAKE1,
ngx_http_perl,
NGX_HTTP_LOC_CONF_OFFSET,
0,