Nginx authentication (auth_basic) by NicholasPhillips October 5, 2013 # htpasswd file is relative to nginx conf location / { auth_basic “Restricted”; auth_basic_user_file conf/htpasswd; } Tags:authenticationhtaccessnginx