Merge branch 'develop' of github.com:jc21/nginx-proxy-manager into real_ip

This commit is contained in:
Jamie Curnow 2020-11-06 09:18:25 +10:00
commit 89d6773bda

View File

@ -187,12 +187,18 @@ const setupCertbotPlugins = () => {
}
});
if (plugins.length) {
const install_cmd = 'pip3 install ' + plugins.join(' ');
promises.push(utils.exec(install_cmd));
return Promise.all(promises).then(() => {
}
if (promises.length) {
return Promise.all(promises)
.then(() => {
logger.info('Added Certbot plugins ' + plugins.join(', '));
});
}
}
});
};