Thanks, i found it just above. It looks like this:
location ~* \.php {
fastcgi_pass unix:/run/php-fpm/php56-fpm.sock;
}
I would like to keep existing behavior (no user/passwd needed) except when
clients try to execute php in /private... directory. Something like this:
location ~* /private*\.
I have a location that I would like to protect:
location /private {
satisfy any;
allow 192.168.1.0/24;
deny all;
auth_basic "Protected";
auth_basic_user_file conf/htpasswd;
}
This works for /private /private/ and /private/somefile.html
However, when I request (GE