Nginx服务器中设置禁止访问文件或目录的方法 在nginx要禁止某个或一类资源,只需要增加一个location,然后在其中使用deny all即可。 禁止访问扩展名为bat的 Nginx 2022-04-10 499 点赞 7 评论 756 浏览