upstream prematurely closed connection while reading response header from upstream
nginx配置uwsgi的时候 错误日志里面有这个错误
通常是反应超时,如果这个是用得是uwsgi
请尝试用默认的端口能否打开
我的问题是 uwsgi的.ini配置错误
贴个可以正常用得配置文件
[uwsgi] socket =127.0.0.1:9090 module = hello.wsgi master=true pidfile=/var/run/uwsgihello.pid daemonize=/var/www/python/hello.log