mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-01-22 12:58:13 -05:00
Fix issues with certbot command when using LE_SERVER
This commit is contained in:
parent
929ac3bd7c
commit
5bdc05878f
@ -839,8 +839,8 @@ const internalCertificate = {
|
||||
'--email "' + certificate.meta.letsencrypt_email + '" ' +
|
||||
'--preferred-challenges "dns,http" ' +
|
||||
'--domains "' + certificate.domain_names.join(',') + '" ' +
|
||||
(letsencryptStaging ? '--staging' : '') +
|
||||
(letsencryptServer !== null ? `--server '${letsencryptServer}'` : '');
|
||||
(letsencryptServer !== null ? `--server '${letsencryptServer}' ` : '') +
|
||||
(letsencryptStaging && letsencryptServer === null ? '--staging ' : '');
|
||||
|
||||
logger.info('Command:', cmd);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user