diff --git a/src/reverseproxy.js b/src/reverseproxy.js index cb15fb1a6..e9b7d3c6d 100644 --- a/src/reverseproxy.js +++ b/src/reverseproxy.js @@ -403,6 +403,7 @@ async function renewCert(fqdn, domainObject) { if (restartError) debug(`renewCert: error updating mail container on cert change: ${restartError.message}`); } + // FIXME: this doesn't work across processes. maybe directory server has to become a process of it's own if (domainObject.domain === settings.dashboardDomain() && getAcmeCertificatePathSync(settings.dashboardFqdn(), domainObject).certFilePath === acmePaths.certFilePath) { debug('renewCert: directory server certificate changed'); const [restartError] = await safe(directoryServer.handleCertChanged());