nginx+webpy 出现 upstream timed out
关于nginx配置webpy应用出现的错误
upstream timed out (: Connection timed out) while reading response header from upstream, client: 192.168.6.141, server: localhost, request: "POST /api/ HTTP/1.1", upstream:
解决方法:
在你的nginx主配置文件中的server下配置以下内容,如果你的nginx后面是proxy,就设置proxy相关的配置,如果是fastcgi就设置fastcgi相关的配置。我们目前配置的是webpy应用,所以配置fastcgi相关即可。
large_client_header_buffers 16k;
client_max_body_size 30m;
client_body_buffer_size 128k;
#proxy_connect_timeout ;
#proxy_read_timeout ;
#proxy_send_timeout ;
#proxy_buffer_size 64k;
#proxy_buffers 32k;
#proxy_busy_buffers_size 64k;
#proxy_temp_file_write_size 64k; fastcgi_connect_timeout ;
fastcgi_read_timeout ;
fastcgi_send_timeout ;
fastcgi_buffer_size 64k;
fastcgi_buffers 32k;
fastcgi_busy_buffers_size 64k;
fastcgi_temp_file_write_size 64k;
重新reload一下你的nginx配置即可正常访问。
nginx+webpy 出现 upstream timed out的更多相关文章
- nginx 报错 upstream timed out (110: Connection timed out)解决方案【转】
		
转自 nginx 报错 upstream timed out (110: Connection timed out)解决方案 - 为程序员服务http://outofmemory.cn/code-sn ...
 - nginx 报错 upstream timed out (110: Connection timed out)解决方案
		
nginx 作PHP的web接口服务器. 在线上发现时不时经常崩溃.504,导致接口访问无响应回复. 查看日志: [error] 11618#0: *324911 upstream timed out ...
 - nginx 超时问题: upstream timed out (110: Connection timed out) while reading response header from upstream
		
目录 错误内容 错误原因 错误解决办法 错误内容 我们可以在error.log 里面可以看到 错误内容:upstream timed out (110: Connection timed out) w ...
 - nginx响应超时upstream timed out 问题处理
		
环境介绍 服务器:centos7.2 应用:tomcat集群 服务:nginx 代理 问题描述: 这段时间,听项目组项目经理和业务需求人员跟我反馈,线上业务人员在操作业务交易时,有时会出现nginx错 ...
 - nginx proxy超时报错 upstream timed out (110: Connec...
		
环境介绍 服务器:centos6.4服务:nginx proxy 问题描述: 然后查找 /opt/usr/nginx/1.4.0/logs 错误 error.log日志提示如下 2015/01/0 ...
 - Nginx报错:upstream timed out (110: Connection timed out)和client intended to send too large body【转】
		
nginx日志报错 2018/01/26 16:36:49 [error] 23327#0: *54953 upstream timed out (110: Connection timed out) ...
 - Nginx Upstream timed out (110: Connection timed out)
		
Nginx Upstream timed out (110: Connection timed out) – 运维生存时间 http://www.ttlsa.com/nginx/nginx-upstr ...
 - nginx 的 upstream timed out 问题
		
nginx 作为负载服务,表现为网站访问很慢,有些文件或页面要等待到60s才会返回,我注意到60s就是超时时间,但是超时后返回状态是正常值200,网站可以正常打开,就是会一直等待到超时才打开,而且问题 ...
 - nginx错误Upstream timed out
		
Upstream timed out (110: Connection timed out) while reading response header from upstream 这种情况主要在下面 ...
 
随机推荐
- 认识WebSocket理论篇
			
本文转自http://www.ibm.com/developerworks/cn/java/j-lo-WebSocket/ HTML5作为下一代WEB标准,拥有许多引人注目的新特性,如Canvas.本 ...
 - java集合使用——HashMap
			
在map中插入.删除和定位元素时,HashMap是最好的选择.如果要按照自然顺序或自定义顺序遍历(获取所有元素),那么treemap更好一些. 第一:构造和添加元素 HashMap map = new ...
 - 初识Treap
			
Treap,简单的来说就是Tree+Heap,是一颗平衡树,每个节点有两个信息:1.key:当前节点的关键字 :2.fix:当前节点优先级.key满足二叉排序数的性质,即左儿子都比当前节点小,右儿子都 ...
 - apche commons项目简介
			
1.apche commons项目封装了日常开发中经常使用的功能,如io, String等. http://commons.apache.org/ Apache Commons项目的由三部分组成: T ...
 - c# List集合排序
			
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.We ...
 - linux vim 常用命令
			
一. VIM高亮 进入vim后,在普通模式下输入如下命令,开启php代码高亮显示 :syntax enable :source $VIMRUNTIME/syntax/php.vim二. VI常用命令_ ...
 - Ext4 MVC CRUD操作
			
项目目录结构如下: (1)index.html <!DOCTYPE html> <html> <head> <title>用户管理</title& ...
 - 挑战以Dropbox为代表的传统“同步网盘”,Seafile推出“分布式文件同步技术”打造的私有云服务
			
挑战以Dropbox为代表的传统“同步网盘”,Seafile推出“分布式文件同步技术”打造的私有云服务#36氪开放日# 其他 JasonZheng • 2012-04-07 15:14 来自36氪开放 ...
 - Eclipse IDE for Java EE Developers使用和新建工程helloworld
			
开发j2ee还是用专门的java ee eclipse,自带了许多开发j2ee的插件,包括: This package includes: Data Tools Platform Eclipse Gi ...
 - SHELL中的特殊变量和结构
			
SHELL中的特殊变量和结构 表格 B-1. 特殊的shell变量 变量 含义 $0 脚本名字 $1 位置参数 #1 $2 - $9 位置参数 #2 - #9 ${10} 位置参数 #10 $# 位置 ...