nginx 502 bad gateway问题

纠结啊啊 发布于 2012/11/22 11:50
阅读 732
收藏 0

错误信息 

upstream prematurely closed connection while reading response header from upstream, client: 192.168.1.158, server: 192.168.1.114, request: "GET /index.html HTTP/1.1", upstream: "uwsgi://192.168.1.114:1998", host: "192.168.1.114:1998"

配置信息

 server {
 74        listen 1998;
 75        server_name 192.168.1.114;
 76
 77        #access_log logs/server1.access.log combined;
 78
 79        location / {
 80                     alias /root/test;
 81                     include uwsgi_params;
 82                     uwsgi_pass 192.168.1.114:1998;
 83                     uwsgi_param UWSGI_PYHOME /root/test;
 84                   }
 85
 86        }

 

加载中
0
开源中国首席大爷
一般来讲都是程序的问题
0
亭舸翁
亭舸翁
看不懂了。你这个nginx和后台服务是同台服务器同端口?
返回顶部
顶部