title: Failed to start nginx - high performance web server
body: <p>I am trying to install Yii and use Nginx service to run my web application. When i try to do </p>
  
  <p><code>sudo systemctl restart nginx.service</code>, i have an error.. </p>
  
  <p><a href="https://i.stack.imgur.com/f6tcf.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/f6tcf.jpg" alt="enter image description here"></a></p>
  
  <p>Then i try to see the status and i get this..</p>
  
  <p><a href="https://i.stack.imgur.com/CMob6.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CMob6.jpg" alt="enter image description here"></a></p>
  
  <p>i found somewhere that i need to run <code>nginx -t -c /etc/nginx/nginx.conf</code> to see what is causing the error.. but everything is ok. it says, syntax is ok and test is successful.
  <a href="https://i.stack.imgur.com/JS0bx.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JS0bx.jpg" alt="enter image description here"></a></p>
  
  <p>what seems to be the problem with this.. please help.</p>