Oh, wait. I am using AlmaLinux and CWP (Control Web Panel) which was known before as CentOS Web Panel.
From: nginx <nginx-bounces@nginx.org> on behalf of Maxim Dounin <mdounin@mdounin.ru>
Date: Friday, February 17, 2023 at 21:06
To: nginx@nginx.org <nginx@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@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@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx