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.
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.
If you do it via the admin we should always restart nginx.
Via CLI / API make sure to add the restart flag