![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nginx
B_H_L
这个作者很懒,什么都没留下…
展开
-
nginx做静态文件下载服务器
最简单的配置nginx.conf使之成为静态文件下载服务器 sendfile on; tcp_nopush on; #keepalive_timeout 0; keepalive_timeout 65; #gzip on; server { listen 8082;转载 2013-12-23 17:29:11 · 65464 阅读 · 1 评论 -
nginx防止爬虫
修改nginx.confserver { listen 80; server_name www.ready.com; #添加如下内容即可防止爬虫if ($http_user_agent ~* "qihoobot|Baiduspider|Googlebot|Googlebot-Mobile|Googlebot-Image|Mediapartners-Google|Adsbot-G转载 2014-03-18 14:17:02 · 3998 阅读 · 1 评论 -
nginx 同时静态下载和web服务
events { worker_connections 768; # multi_accept on;}http { ## # Basic Settings ## sendfile on; tcp_nopush on; tcp_nodelay on; keepalive_timeout 6转载 2014-04-12 11:32:44 · 1238 阅读 · 0 评论