> this configuration does not work as expected :
> server {
> satisfy any;
If that is all your configuration (no extra location blocks) then just
include the rules inside location / {} like:
server {
location / {
satisfy any;
auth_basic "DING DING SONG";
...
deny all;
}
location /allowed/ {
}
}
p.s. http://nginx.org/en/docs/http/ngx_http_core_module.html#location
rr