Nginx not running with no error message

前端 未结 8 1146
深忆病人
深忆病人 2021-01-30 06:15

I am trying to start my nginx server. When I type \"$> /etc/init.d/nginx start\", I have a message appearing \"Starting nginx:\", and then nothing happens. There is no error mes

8条回答
  •  失恋的感觉
    2021-01-30 06:54

    In your /etc/nginx/nginx.conf file you have:

    include /etc/nginx/site-enabled/*;
    

    And probably the path you are using is:

    /etc/nginx/sites-enabled/default
    

    Notice the missing s in site.

提交回复
热议问题