nginx not listening to port 80

前端 未结 10 1959
长发绾君心
长发绾君心 2020-12-12 23:56

I\'ve just installed a Ubuntu 12.04 server and nginx 1.2.7, removed default from sites-enabled and added my own file into sites-available and symli

10条回答
  •  时光说笑
    2020-12-13 00:09

    A semi-colon ; missing in /etc/nginx/nginx.conf for exemple on the line before include /etc/nginx/servers-enabled/*; can just bypass this intruction and nginx -t check will be successful anyway.

    So just check that all instructions in /etc/nginx/nginx.conf are ended with a semi-colon ;.

提交回复
热议问题