Tag Info

Hot answers tagged

1

For HTTP basic authentication using a .htpasswd file, use the auth_basic module in a location block for the protected directory: location /123 { auth_basic "Protected"; auth_basic_user_file /path/to/.htpasswd; }



Only top voted, non community-wiki answers of a minimum length are eligible