nginx限制IP访问网站
摘要:
需求:网站只允许指定IP访问,其他访问一律拒绝server { listen 80; server_name a.com; index index.html index.htm index.php; root /var/wwwroot/aaa/; allow 23.100.1.222; allow 阅读全文
posted @ 2018-10-19 12:02 LEON001028 阅读(779) 评论(0) 推荐(0) 编辑