重启NGINX失败,项目无法运行!

来源:17-7 uwsgi和nginx配置

慕粉232102761

2020-12-21

[2]+ Stopped vim /etc/nginx/
[root@iZbp1ir7n1a1tnab26l54cZ nginx]# vim /etc/nginx/nginx.conf
[root@iZbp1ir7n1a1tnab26l54cZ nginx]# sudo systemctl restart nginx
Job for nginx.service failed because the control process exited with error code. See “systemctl status nginx.service” and “journalctl -xe” for details.
[root@iZbp1ir7n1a1tnab26l54cZ nginx]# ps aux|grep nginx
root 2320 0.0 0.4 151028 4748 pts/0 T 22:51 0:00 vim /etc/nginx/
root 2323 0.0 0.4 151028 4748 pts/0 T 22:53 0:00 vim /etc/nginx/
root 2341 0.0 0.1 112708 988 pts/0 R+ 22:57 0:00 grep --color=auto nginx
[root@iZbp1ir7n1a1tnab26l54cZ nginx]#

写回答

1回答

bobby

2020-12-22

这应该是你的nginx配置有问题,你可以使用 https://www.cnblogs.com/kingsonfu/p/11670719.html 这里的方法测试一下你的配置文件哪里有问题

0
0

Django+ xadmin 开发在线教育网站

一套通用的技术组合拳,助你解决大部分Python类网站后端问题

1944 学习 · 2173 问题

查看课程