2019年7月1日

Nginx如何配置禁止访问某个目录

摘要: ``` location ~* \.(txt|doc)${ root /data/www/wwwroot/test; deny all; } ``` 阅读全文

posted @ 2019-07-01 14:09 果然朝辉 阅读(3676) 评论(0) 推荐(0) 编辑

Nginx如何配置防盗链

摘要: 配置要点 none : 允许没有http_refer的请求访问资源; blocked : 允许不是http://开头的,不带协议的请求访问资源; 119.28.190.215 start.igrow.cn : 只允许指定ip/域名来的请求访问资源; 阅读全文

posted @ 2019-07-01 14:07 果然朝辉 阅读(278) 评论(0) 推荐(0) 编辑

导航