Nginx Auth Basic directory protection
Jun, Tue 19th, 2012
Posted in : Nginx Tutorials
By : PlanetMaster
0 Comments
Tags: nginx, nginx auth basic, nginx protect directories, nginx security
Nginx Auth Basic directory protection Nginx Auth Basic directory protection Protecting directories with auth_basic module in Nginx is easy. Its similar to htaccess but in this case we need to add 2 separate locations in our server block. One for the directory and one for its files. So going to domain.com/admin/ will get you the [...]
Continue Reading →