语 法:satisfy all | any;
默认值:satisfy all;
上下文:http, server, location
如果 ngx_http_access_module、ngx_http_auth_basic_module、ngx_http_auth_request_module 或 ngx_http_auth_jwt_module 模块中的所有(全部)或至少一个(任何)模块允许访问,则允许访问。
实例:
location / {
satisfy any;
allow 192.168.1.0/32;
deny all;
auth_basic "closed site";
auth_basic_user_file conf/htpasswd;
}