nginx upstream timed out 10060错误解决

减少反向代理连接时间,可以解决这个问题 

proxy_connect_timeout 1; 
proxy_send_timeout 30; 
proxy_read_timeout 60; 
server {
		listen 80;
		server_name 127.0.0.1;
		

		location / {  

			proxy_pass http://127.0.0.1:8080; 
			
			proxy_connect_timeout 1; 
			proxy_send_timeout 30; 
			proxy_read_timeout 60; 
		
		}
	}

 

你可能感兴趣的:(nginx upstream timed out 10060错误解决)