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?
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.
×
What do the logs look like for your container?
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/
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.