Merge pull request from jlesage/remove-webroot-certbot-arg

Removed the hardcoded `--webroot` certbot argument to better support DNS challenge
This commit is contained in:
jc21
2020-08-25 08:44:00 +10:00
committed by GitHub

@ -733,7 +733,6 @@ const internalCertificate = {
'--agree-tos ' + '--agree-tos ' +
'--email "' + certificate.meta.letsencrypt_email + '" ' + '--email "' + certificate.meta.letsencrypt_email + '" ' +
'--preferred-challenges "dns,http" ' + '--preferred-challenges "dns,http" ' +
'--webroot ' +
'--domains "' + certificate.domain_names.join(',') + '" ' + '--domains "' + certificate.domain_names.join(',') + '" ' +
(le_staging ? '--staging' : ''); (le_staging ? '--staging' : '');