mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-15 21:31:24 -05:00
[GH-ISSUE #189] deleting resources leaves entries in acme.json #3274
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @manilx on GitHub (Feb 11, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/189
I have added and deleted various resources during testing. Checking the acme.json file in config/letsencrypt I see all the entries there. They should be deleted also when deleting a resource.
@miloschwartz commented on GitHub (Feb 11, 2025):
That is expected behavior. We want to keep the certs around so they can be reused. If we deleted the certs when you delete a resource, then Traefik would try to recreate the certificate next time you reuse that subdomain. This would mean you have more certs opened with Lets Encrypt and would draw down on your account's limits. If you switch to wildcard certs, then a new cert won't be generated for each resource anyway.
@manilx commented on GitHub (Feb 11, 2025):
@manilx commented on GitHub (Feb 11, 2025):
Just found it: https://docs.fossorial.io/Pangolin/Configuration/wildcard-certs
Have to do it manually.....
@manilx commented on GitHub (Feb 11, 2025):
Got it working. Good docs!