Commit 724a658
committed
nginx: skip cert fetch on startup when cert is still valid
Avoid acme.sh hitting Let's Encrypt for every domain on each container restart. Per-domain, skip if a cert exists and is valid for more than 3 days; cron continues to handle renewals.1 parent c755616 commit 724a658
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
32 | 39 | | |
33 | 40 | | |
34 | 41 | | |
| |||
0 commit comments