报502错upstream prematurely closed connection while reading response header from upstream问题解决


Change nginx.conf to include,感觉比较有用,可是没有根除问题

sendfile        on;
client_max_body_size 20M;
keepalive_timeout  0;