Nginx: Job for nginx.service failed because the control process exited

前端 未结 19 1272
予麋鹿
予麋鹿 2021-01-29 19:31

I got a problem which I have been trying to fix for a few days now and I don\'t know what to do, have been looking for answers but all of those I found didn\'t help me.

19条回答
  •  轮回少年
    2021-01-29 20:05

    $ ps ax | grep nginx
    $ kill -9 PIDs $ service nginx start



    or set back /etc/nginx/sites-available/default

    location / {
         # First attempt to serve request as file, then
         # as directory, then fall back to displaying a 404.

         try_files $uri $uri/ =404;
    }

提交回复
热议问题