Protect folders in Nginx

When using Apache, usually to protect the directory we often use .htaccess and htpasswd files… However, Nginx does not support htaccess. You take a look the HTTP Basic Authentication tutorial below to make protected directories in Nginx. The goal Protect the directory the server is, configuration file 1. create the file with […]