nginx does not start automatically, what have I done?

nginx at onekarlo.com nginx at onekarlo.com
Fri Feb 17 13:07:35 UTC 2023


Oh, wait. I am using AlmaLinux and CWP (Control Web Panel) which was known before as CentOS Web Panel.

From: nginx <nginx-bounces at nginx.org> on behalf of Maxim Dounin <mdounin at mdounin.ru>
Date: Friday, February 17, 2023 at 21:06
To: nginx at nginx.org <nginx at nginx.org>
Subject: Re: nginx does not start automatically, what have I done?
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/
_______________________________________________
nginx mailing list
nginx at nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20230217/2d9951ea/attachment.htm>


More information about the nginx mailing list