upstream prematurely closed connection while reading response header from upstream

upstream prematurely closed connection while reading response header from upstream

nginx配置uwsgi的时候  错误日志里面有这个错误

如果用的是uwsgi,一般是反应超时

正常配置文件

[uwsgi]
socket =127.0.0.1:9090
module = hello.wsgi
master=true
pidfile=/var/run/uwsgihello.pid
daemonize=/var/www/python/hello.log

 

你可能感兴趣的