nginx does not start automatically, what have I done?

Maxim Dounin mdounin at mdounin.ru
Fri Feb 17 13:06:03 UTC 2023


Hello!

On Fri, Feb 17, 2023 at 12:34:23PM +0000, nginx at onekarlo.com wrote:

> How will I be able to fix it and avoid the use of this method?
> 
> Please do help me, thanks!

As suggested in the original response, first thing to check is the 
systemd service you are using to start nginx.  It should contain
"After=" and "Wants=" clauses with "network-online.target", see 
http://hg.nginx.org/pkg-oss/file/tip/debian/debian/nginx.service 
for an example.

-- 
Maxim Dounin
http://mdounin.ru/


More information about the nginx mailing list