ling凌yue月 发表于 2013-2-4 13:36:03

linux 系统下nginx 屏蔽迅雷配置

新建:/etc/nginx/agent.conf
添加if ($http_user_agent ~ "Mozilla/4.0\ \(compatible;\ MSIE\ 6.0;\ Windows\ NT\ 5.1;\ SV1;\ .NET\ CLR\ 1.1.4322;\ .NET\ CLR\ 2.0.50727\)") { return 404; }
到agent.conf文件
在nginx.conf 文件中引入include agent.conf;
页: [1]
查看完整版本: linux 系统下nginx 屏蔽迅雷配置