Quantcast

Location URI Wildcard

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Location URI Wildcard

cluelessdude
This post has NOT been accepted by the mailing list yet.
This post was updated on .
location /admin/ {
                auth_basic "Restricted Content";
                auth_basic_user_file /etc/nginx/.htpasswd;
        }

Trying to get the auth for all folders and files behind /admin/ but i can't seem to make it work. Any help would be appreciated. Thank you.
Loading...