How to Set Up HTTP Authentication (Basic) With Nginx on Ubuntu 16.04

Restricting portions of a web application or directories on a web server to a small group of trusted users can greatly improve the security of a website or web application. Most web applications provide their own form-based methods for authentication, however, we can also make use of the web server’s built-in HTTP authentication capabilities when form authentication is not implemented, or not sufficient.

Read full news article on Dzone