Nginx Not Running With No Errors

Posted by Weston Ganger

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:

Article Topic:Software Development - Linux

Date:September 03, 2015

Recommended Posts

Contact

604-309-8713
info@solidfoundationwebdev.com

Send Me A Message

I would love to get in touch and talk about your next project. Feel free to send a message and I will get back to you shortly.

Get Connected