jjzjj

django - Nginx、Gunicorn、Django、Celery(Redis) : upstream prematurely closed connection 502 gateway

我在Linux服务器上使用docker-compose运行一个设置。两天前,我在设置中添加了gunicorn+nginx。不幸的是,所有启动celery任务的restapi端点都停止工作(它返回502gatewaynotfound)。当我尝试在启动celery任务的calculateshortestpath上发送帖子表单时,502网关返回。Issue:SummaryURL:http://192.168.0.150:8001/tspweb/calculate_shortest_paths/Status:502BadGatewaySource:NetworkAddress:192.168.

django - Nginx、Gunicorn、Django、Celery(Redis) : upstream prematurely closed connection 502 gateway

我在Linux服务器上使用docker-compose运行一个设置。两天前,我在设置中添加了gunicorn+nginx。不幸的是,所有启动celery任务的restapi端点都停止工作(它返回502gatewaynotfound)。当我尝试在启动celery任务的calculateshortestpath上发送帖子表单时,502网关返回。Issue:SummaryURL:http://192.168.0.150:8001/tspweb/calculate_shortest_paths/Status:502BadGatewaySource:NetworkAddress:192.168.