我们已经建立了一个nginx代理,在过去的几周中,该站点还是我应该说代理通常在午夜左右关闭,而此时根本没有流量(除了来自ELB的运行状况检查之外)。如果我尝试访问该站点,它将不断加载。错误日志中包含以下内容
70448 epoll_wait() reported that client prematurely closed connection, so upstream connection is closed too while connecting to upstream, client: <myIP>, server: test.mysite.com, request: "GET / HTTP/1.1", upstream: "http://<elbIP>:80/", host: "test.mysite.com"
如果我重新启动nginx,则该站点可以再次正常运行,但几个小时后便中断了。有什么想法吗?