My understanding is that location /admin { auth_basic "Administrator Login"; auth_basic_user_file /path/to/.htpasswd } with .htpasswd created via htpasswd -c ... and the path to it being absolute should protect access to the /admin folder and everything within it. What I find, is that when I browse to http://example.com/admin I am prompted for the admin password. However,by jrewi - How to...
![]() |
![]() |
![]() |
![]() |
|