]> git.kaiwu.me - nginx.git/commitdiff
allow "perl" inside "limit_except"
authorIgor Sysoev <igor@sysoev.ru>
Thu, 14 Dec 2006 22:13:33 +0000 (22:13 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 14 Dec 2006 22:13:33 +0000 (22:13 +0000)
src/http/modules/perl/ngx_http_perl_module.c

index fb1642051eb383edd0ef9fdf8437362a7e38837a..29296b6a2e2e5208740ea6b06cd655c072d80dd6 100644 (file)
@@ -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,