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 之后观察了几天错误日志没在出现了,问题解决。