Question

/etc/init.d/nginx restart -> failed

im running a dokku 4.0 server (updated from 0.3.16), and none of my traffics are being forwarded to any of my dokku apps. upon attempting to restart nginx it failed. after running " nginx -t"

it says nginx has no issues - nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful

what else can i do?

Subscribe
Share

the issue resolved itself.

At that time, traffic was reaching nginx on /var/log, so the traffic to the docker containers must be lost in the middle due to either docker wasnt mapping to the correct network or one of the log buffers blew up causing the network packets to get lost.

What do the logs look like for your container?

docker logs <container ID>

You may also want to increase your log levels:https://www.nginx.com/resources/admin-guide/logging-and-monitoring/ and see if Nginx reveals anything different in /var/log/


Submit an 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.

This question was answered by @kamalfreddigita:

the issue resolved itself.

At that time, traffic was reaching nginx on /var/log, so the traffic to the docker containers must be lost in the middle due to either docker wasnt mapping to the correct network or one of the log buffers blew up causing the network packets to get lost.

View the original comment