Certs are not actually being reloaded
Certificates are not automagically reloaded, even when watching them is enabled, because we're using SIGUSR1
instead of SIGHUP
here.
According to the manpage, SIGUSR1
only instructs nginx
to reopen logfiles. In case of configuration changes (and new certificates!), we want SIGHUP
.