Nginx +独angular兽子域虚拟主机失效(超时)
我在VPS上设置了一个服务器,通过Nginx + Unicorn为生产Rails应用程序提供服务。 目前这个工作正常与以下conf文件: nginx.conf unicorn.conf 但是, staging.appname.tld添加的子域最终会在/var/log/nginx/error.log产生以下错误: 2012/08/20 16:57:39 [error] 24673#0: *174 upstream timed out (110: Connection timed out) while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: staging.appname.com, request: "GET / HTTP/1.1", upstream: "http://unix:/tmp/unicorn.appname_staging.sock:/", host: "staging.appname.com" 2012/08/20 16:58:17 [error] 24673#0: *178 upstream timed out (110: Connection timed out) while reading response header from […]