Set the nginx web directory. For example, www.test.com corresponds to the /var/www/test/ directory. How to prevent the files in the /var/www/test/ceshi/ directory from being accessed
Try this:
location /test/ceshi { deny all; return 403; }
Files that are not allowed to be accessed are placed in the web directory. What does your company's security department do...
Try this:
Files that are not allowed to be accessed are placed in the web directory. What does your company's security department do...