1 在使用过程中错误日志经常会出现
10:05:10 [error] 7948#0: *17778541 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 222.134.170.25, server: localhost, request: "GET / HTTP/1.1", upstream:
然后这会导致客户端无法发开网站,经过查询结果调整 upstream 的参数发现
upstream 里面指向后端的服务器是写主机名的,换成后端服务器IP 之后观察了几天错误日志没在出现了,问题解决。
本文出自 “信不信由你” 博客,转载请与作者联系!
使用nginx upstream upstream timed out while reading response header from upstream问题解决
原文:http://312461613.blog.51cto.com/965442/1362566