mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-11-21 21:26:43 +00:00
Adds delay after reloading nginx before requesting ssl certificate using http challenge
This commit is contained in:
1 parent
adc5a2020a
commit
c803ec7e26
1 file changed
+1
@@ -171,6 +171,7 @@ const internalCertificate = {
|
||||
// 3. Generate the LE config
|
||||
return internalNginx.generateLetsEncryptRequestConfig(certificate)
|
||||
.then(internalNginx.reload)
|
||||
.then(async() => await new Promise((r) => setTimeout(r, 5000)))
|
||||
.then(() => {
|
||||
// 4. Request cert
|
||||
return internalCertificate.requestLetsEncryptSsl(certificate);
|
||||
|
||||
Reference in new issue
Block a user