nginx不能重启啊

问答中心分类: OneinStacknginx不能重启啊
探路者 asked 7年 ago
你好,nginx不能重启啊?
service nginx restart
Restarting nginx (via systemctl): Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.

3 Answers
oneinstack answered 7年 ago
配置文件语法错误吧
麻烦重启nginx前 nginx -t检查下语法

探路者 answered 7年 ago
 
我先安装了Lets Encrypt,后面就按照uninstall删除它而已,其他的都没有做,怎么会存在语法问题呢?
 

oneinstack answered 7年 ago
自己看下 是否语法错误  不要说那么绝对。 nginx -t