mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
Reset domain fail count to 0 on success
This commit is contained in:
parent
5aeb1b0c8b
commit
7b5c34b29b
1 changed files with 1 additions and 0 deletions
|
@ -188,6 +188,7 @@ class LetsEncryptWorker
|
|||
site.ssl_key = certificate.request.private_key.to_pem
|
||||
site.ssl_cert = certificate.fullchain_to_pem
|
||||
site.cert_updated_at = Time.now
|
||||
site.domain_fail_count = 0
|
||||
site.save_changes validate: false
|
||||
|
||||
# Refresh the cert periodically, current expire time is 90 days
|
||||
|
|
Loading…
Add table
Reference in a new issue