Skip to content

Commit

Permalink
do not renew domains when ssl_redirect is 2 because we have already a…
Browse files Browse the repository at this point in the history
…dded a task to do it later when redirect is temporarily disabled

Signed-off-by: Maurice Preuß (envoyr) <[email protected]>
  • Loading branch information
envoyr committed Feb 26, 2025
1 parent ceb7f5b commit 2e18d7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Froxlor/Cron/Http/LetsEncrypt/AcmeSh.php
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ private static function renewDomains($check = false)
AND dom.`aliasdomain` IS NULL
AND dom.`iswildcarddomain` = 0
AND dom.`email_only` = 0
AND dom.`ssl_redirect` != 2
");
$renew_certs = $certificates_stmt->fetchAll(PDO::FETCH_ASSOC);
if ($renew_certs) {
Expand Down

0 comments on commit 2e18d7c

Please sign in to comment.