Nginx won't restart . . . Job for nginx.service failed because the control process exited with error code

后端 未结 1 1295
离开以前
离开以前 2021-01-07 07:19

I am following a youtube video on setting up Nginx I\'m restarting, it gives when I got the part where I need to edit the server blocks file (sites-enabled/default) I follow

1条回答
  •  情话喂你
    2021-01-07 08:01

    Something's wrong

    Set up error logging to debug by editing /etc/nginx/nginx.conf:
    find line with error_log, verify log file location and change the level to debug:
    error_log logs/error.log debug;

    Try restarting again and inspect the log file for more details.

    0 讨论(0)
提交回复
热议问题