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

Posted September 28, 2015 4.8k views

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.

Submit an Answer
1 answer

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