Hello:
This is the error where I have been stuck after reloading the nginx. Does this (pls see photo)look familiar to you? It shows reloading is failed when I tried to reload it. As per TDD book’s suggestion, I checked the systemctl status nginx and this message says the same reload errors. Thank you in advance for your help.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @bdossul,
Most probably you have a misconfiguration in your Nginx configurations configuration file. In order to catch the exact error you’ll need to check your Nginx’s error log. The file is located here :
/var/log/nginx/error.log
You can use the following command to actually check int
tail -n 100 /var/log/nginx/error.log
In there once you see the error you’ll know where to start troubleshooting from. If you are still uncertain, I’ll recommend checking out the following article about configuring Nginx server blocks
If you are still unsure after reading it and testing some stuff, post the error here and we’ll try to assist you.
Regards, KDSys
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.