Fix typos in cert renewal
This commit is contained in:
@@ -675,7 +675,7 @@ async function renewCerts(options, auditSource, progressCallback) {
|
||||
|
||||
// hack to check if the app's cert changed or not. this doesn't handle prod/staging le change since they use same file name
|
||||
let currentNginxConfig = safe.fs.readFileSync(appDomain.nginxConfigFilename, 'utf8') || '';
|
||||
if (currentNginxConfig.includes(bundle.certFilePath)) return;
|
||||
if (currentNginxConfig.includes(bundle.certFilePath)) continue;
|
||||
|
||||
debug(`renewCerts: creating new nginx config since ${appDomain.nginxConfigFilename} does not have ${bundle.certFilePath}`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user