nginx 访问控制
摘要:
nginx 访问控制 可以匹配正则 location ~ .*(abc|image)/.*\.php$ { deny all; } 根据user_agent限制 if ($http_user_agent ~ 'Spider/3.0|YoudaoBot|Tomato') { return 403; } 阅读全文
posted @ 2018-01-07 22:58 游荡的鱼 阅读(148) 评论(0) 推荐(0) 编辑