Nginx Not Running With No Errors

Posted by Weston Ganger on September 03, 2015

I was having the issue where I was starting the nginx service but when I checked the service was not running.

The issue is probably that you have errors in your nginx configuration file. Fortunately Nginx has a tool to tell you what is wrong with your configuration file.

sudo nginx -t #this will show any errors, if so fix them

# Then start nginx
sudo nginx start

Related External Links:

Posted in Linux and Tagged with nginx linux web-server 

Need help on your next project or application?

I specialize in Ruby-on-Rails, AngularJS, Javascript, Bootstrap, and Hybrid Mobile Apps with Cordova & Ionic.

Contact Me

Recommended Posts