Techieshelp.com

NGinx Service Restart Failed

Ive been playing around with SSL recently on Techieshelp and while ive still not decided to flick the switch due to the dreaded mixed content off 3rd party scripts ive came across a few issues with NGINX.conf during the testing process.

The biggest help to me during this time was the following command.

NGinx -T

This command tests the NGinx conf file before restarting and lists the errors that are in your logs and what line of code is causing the issue. Its saved me many a headache as seen below.


If you come across the NGinx service restart fail error then this is the first port of call for startup issues!