
nginx
无天
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
upstream timed out (110: Connection timed out) while reading response header from upstream 问题解决
webserver使用的是nginx,有时会报upstream timed out (110: Connection timed out) while reading response header from upstream这样的错误。 大致是由于php fastcgi处理请求的时间太长了,导致nginx获取response超时。 具体在nginx中的超时时间设置为: proxy_read原创 2013-08-26 13:26:05 · 11836 阅读 · 0 评论 -
uginx增加IP白名单的方法
1,在php.conf中增加重写规则 location /hello/ { root index fastcgi_pass include fastcgi.conf rewrite ^/hello/(.*?) /world/&1 break; } 2,添加ip配置文件 vim user_ip_hello.conf原创 2013-10-19 11:37:44 · 2866 阅读 · 0 评论