Mailu Frontend doesn't refresh certificate automatically #86
Labels
No labels
Blocked
Existing Service
Infrastructure Issue
Refactor
Security Hardening
Security Issue
Service Idea
Service Removal
Upgrade service
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: data.coop/ansible#86
Loading…
Reference in a new issue
No description provided.
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?
When the TLS Cert is updated by the reverse proxy, the mailu frontend container needs to be restarted. We need to find a way to do this automatically.
Relevant: https://mailu.io/master/maintain.html#managing-of-external-let-s-encrypt-certificates
https://git.data.coop/data.coop/ansible/src/branch/master/roles/docker/tasks/services/mailu.yml#L25-L38
The TLS certificate and key files are hard-linked from nginx to Mailu. When nginx renews the cert, the modified-date of the hard-link is updated as well. This means that, if we can somehow have something to listen for the files (the hard-links) being modified on Mailu's side of things, this would be easily solvable.