因为有一个计算操作占用了较长时间,
在location / { 下增加
proxy_connect_timeout 300; proxy_send_timeout 300; proxy_read_timeout 300; send_timeout 300;