NGINX will to restart when adding or changing web domains

Hello,

When adding or changing web domains, NGINX will not auto restart. I have to go and do it manually. This is especially a problem when I add let’s encrypt certificates.

Running nginx -t I get the following:

nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful

This and the fact that I can restart it manually both from the command line and the panel shows that it is not a problem with the config.

Any Ideas?

If you do it via the admin we should always restart nginx.

Via CLI / API make sure to add the restart flag

And

I do it through the admin only…