mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-12-02 10:21:23 +01:00
Removes random delay when renewing certificates with the renew now button
This commit is contained in:
1 parent
d95cd36b3e
commit
5f29f6b039
1 file changed
+2
@@ -973,6 +973,7 @@ const internalCertificate = {
|
|||||||
'--config "' + letsencryptConfig + '" ' +
|
'--config "' + letsencryptConfig + '" ' +
|
||||||
'--cert-name "npm-' + certificate.id + '" ' +
|
'--cert-name "npm-' + certificate.id + '" ' +
|
||||||
'--preferred-challenges "dns,http" ' +
|
'--preferred-challenges "dns,http" ' +
|
||||||
|
'--no-random-sleep-on-renew ' +
|
||||||
'--disable-hook-validation ' +
|
'--disable-hook-validation ' +
|
||||||
(letsencryptStaging ? '--staging' : '');
|
(letsencryptStaging ? '--staging' : '');
|
||||||
|
|
||||||
@@ -1001,6 +1002,7 @@ const internalCertificate = {
|
|||||||
let mainCmd = certbotCommand + ' renew --non-interactive ' +
|
let mainCmd = certbotCommand + ' renew --non-interactive ' +
|
||||||
'--cert-name "npm-' + certificate.id + '" ' +
|
'--cert-name "npm-' + certificate.id + '" ' +
|
||||||
'--disable-hook-validation ' +
|
'--disable-hook-validation ' +
|
||||||
|
'--no-random-sleep-on-renew ' +
|
||||||
(letsencryptStaging ? ' --staging' : '');
|
(letsencryptStaging ? ' --staging' : '');
|
||||||
|
|
||||||
// Prepend the path to the credentials file as an environment variable
|
// Prepend the path to the credentials file as an environment variable
|
||||||
|
|||||||
Reference in new issue
Block a user