mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-02-02 01:38:15 -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 + '" ' +
|
'--email "' + certificate.meta.letsencrypt_email + '" ' +
|
||||||
'--preferred-challenges "dns,http" ' +
|
'--preferred-challenges "dns,http" ' +
|
||||||
'--domains "' + certificate.domain_names.join(',') + '" ' +
|
'--domains "' + certificate.domain_names.join(',') + '" ' +
|
||||||
(letsencryptStaging ? '--staging' : '') +
|
(letsencryptServer !== null ? `--server '${letsencryptServer}' ` : '') +
|
||||||
(letsencryptServer !== null ? `--server '${letsencryptServer}'` : '');
|
(letsencryptStaging && letsencryptServer === null ? '--staging ' : '');
|
||||||
|
|
||||||
logger.info('Command:', cmd);
|
logger.info('Command:', cmd);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user