启动uwsgi后提示“502 Bad Gateway”
来源:14-2 uwsgi安装和启动, nginx的虚拟主机配置
foxworld306
2017-07-03
编辑了uwsgi.ini后,运行uwsgi -i uwsgi.ini
提示如下:
spawned uWSGI master process (pid: 3979)
spawned uWSGI worker 1 (pid: 3984, cores: 1)
spawned uWSGI worker 2 (pid: 3985, cores: 1)
spawned uWSGI worker 3 (pid: 3986, cores: 1)
spawned uWSGI worker 4 (pid: 3987, cores: 1)
spawned uWSGI worker 5 (pid: 3988, cores: 1)
spawned uWSGI worker 6 (pid: 3989, cores: 1)
spawned uWSGI worker 7 (pid: 3990, cores: 1)
spawned uWSGI worker 8 (pid: 3991, cores: 1)
spawned uWSGI worker 9 (pid: 3992, cores: 1)
spawned uWSGI worker 10 (pid: 3993, cores: 1)
打开浏览器后无法访问
但是此时访问本地地址127.0.0.1可以打开nginx页面
请教老师是为什么?这个问题困扰我好几天了。谢谢!
写回答
2回答
-
龙之GOOD
2017-07-19
这个后面怎么解决,我也遇到了
00 -
bobby
2017-07-04
你加我的qq我看一下吧
042017-07-20
相似问题