Syntax: | satisfy |
---|---|
Default: | satisfy all; |
Context: | http , server , location |
Allows access if all (all
) or at least one (any
) of the ngx_http_access_module, ngx_http_auth_basic_module, ngx_http_auth_request_module, or ngx_http_auth_jwt_module modules allow access.
Example:
location / { satisfy any; allow 192.168.1.0/32; deny all; auth_basic "closed site"; auth_basic_user_file conf/htpasswd; }
Please login to continue.