“configuration file /etc/nginx/nginx.conf test failed”: How do I know why this happened?

前端 未结 4 2164

I\'m an nginx noob trying out this this tutorial on nginx 1.1.19 on ubuntu 12.04. I have this nginx config file.

When I run this command the test fails:

         


        
4条回答
  •  感动是毒
    2021-01-31 01:29

    This particular commands worked for me. sudo apt-get remove --purge nginx nginx-full nginx-common

    and sudo apt-get install nginx

    credit to this answer on stackexchnage

提交回复
热议问题