Nginx failing to start (Ajenti V behind nginx proxy)

Robert Bethke il y a 8 ans mis à jour il y a 8 ans 1

If I reboot my server nginx is failing to start properly. I get a ip binding error and have to stop nginx and start it to get things going. (I'm running ajenti behind an nginx proxy). If I check the status of ajenti through systemctl I see only the panel list. Once I do this I can restart ajenti v and the websites just fine. If I reboot the websites then Ajenti will have all the expected child process listed. Any idea how I might be able to resolve?

Just a follow-up this was caused by nginx trying to bind to an ipv6 address prior to it being available. I added :



To my systemd service file for nginx and that resolved the problem.