Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: auth_basic issue, won't protect full directory

$
0
0
I try with same result

location /admin {
try_files $uri $uri/ =404;
auth_basic "Restricted";
auth_basic_user_file /srv/http/admin/.htpasswd;
}

Mind that i got auth request on admin/ not if i request a php file in it

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>