NGinx Service Restart Failed

Written by Allen White on. Posted in VPS

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.

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

 
Allen White
at
Allen is a Consultant for ITPS in the North East of England and holds the following accreditations. MCSA, MCSE, MCTS, MCITP, CCA, CCSP, VCP 4,5 and HP ASE, AIS - Network Infrastructure.

ITPS provides strategic IT consultancy, implementation, data centre provision and unified communications, as well as support services and workspace and disaster recovery. If you require a consultation then please contact me via the contacts section or direct on 07931222991, add me on linkedin. https://uk.linkedin.com/in/allenwhiteconsultant0001

Tags:

Leave a comment

Categories

(c) Techieshelp.com. Please be aware, all information is provided freely, any information used is done so at your risk and Techieshelp will not be held responsible for any issue that may occur.
!-- BuySellAds On-Site Shopping Cart -->