Linux Shell Tips published a tutorial about how to put directory restrictions in Nginx Web Server.
How to Put Directory Restrictions in Nginx Web Server
The power of Nginx should never be underestimated. This performant, lightweight, and fast web server application is capable of handling 10,000 connections simultaneously without straining. To accomplish such strides, Nginx makes use of its asynchronous and event-driven architecture for managing new connections.
How to Put Directory Restrictions in Nginx Web Server