Bypass basic auth for letsencrypt acme requests, reload nginx after ssl renewals

This commit is contained in:
Jamie Curnow
2018-03-16 10:53:50 +10:00
parent b324110c49
commit 36896bcfc9
3 changed files with 11 additions and 7 deletions

View File

@ -30,7 +30,11 @@ const internalSsl = {
.then(result => {
logger.info(result);
internalSsl.interval_processing = false;
return result;
return internalNginx.reload()
.then(() => {
return result;
});
})
.catch(err => {
logger.error(err);