Report this

What is the reason for this report?

NGINX issue - reload failed.

Posted on May 6, 2020

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.

https://media.discordapp.net/attachments/665347904575242292/707632134210453514/Screen_Shot_2020-05-06_at_12.21.41_PM.png?width=960&height=227



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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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

https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-server-blocks-virtual-hosts-on-ubuntu-16-04

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.