一.问题描述
启动nginx的时候提示:
root@iZwz94kwqu5mk9oxpv2m2tZ:~/sites/mysite# service nginx restart
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details
按提示输入:systemctl status nginx.service或者journalctl -xe,则提示:
Failed to start A high performance web server and a reverse proxy server.
二.问题分析
1.配置完后没有写分号(;)
示例: root /root/sites/mysite/frontend/dist后面缺少分号
正确写法应该是: