Disable Access to a folder in Nginx

To disable access to folder /admin in Nginx, add following to server block of your web site.

To disable access to some common virtual control software, use

Add a Comment

Your email address will not be published. Required fields are marked *