Linux Shell Tips published a tutorial showing you how to password protect a directory in Nginx web server.
How to Password Protect Directory in Nginx Web Server
Other than being light, fast, lightweight, and simple (in terms of setup and configuration), Nginx is classified as the most sort-after web server for high-traffic websites because of the following advantages
How to Password Protect Directory in Nginx Web Server