diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-12-29 16:38:23 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-12-29 16:38:23 +0000 |
commit | 2d028f891035189c5c790aeae8895fb1e6af116f (patch) | |
tree | 7aa8ab667fafee08f717df319de28accf85bb36d /src/http/modules/ngx_http_access_module.c | |
parent | c7a9b7a990b4ea9bf908402abf090e1bd95b1d9a (diff) | |
download | nginx-2d028f891035189c5c790aeae8895fb1e6af116f.tar.gz nginx-2d028f891035189c5c790aeae8895fb1e6af116f.zip |
satisfy all|any
Diffstat (limited to 'src/http/modules/ngx_http_access_module.c')
-rw-r--r-- | src/http/modules/ngx_http_access_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_access_module.c b/src/http/modules/ngx_http_access_module.c index 44a2fbd89..264423beb 100644 --- a/src/http/modules/ngx_http_access_module.c +++ b/src/http/modules/ngx_http_access_module.c @@ -116,7 +116,7 @@ ngx_http_access_handler(ngx_http_request_t *r) if (rule[i].deny) { clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); - if (!clcf->satisfy_any) { + if (clcf->satisfy == NGX_HTTP_SATISFY_ALL) { ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, "access forbidden by rule"); } |