You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 28, 2021. It is now read-only.
Currently this image persists the keys and lets encrypt information in the container. This isn't ideal if the container is removed, as key generation for all the hosts must happen again.
Is there a convenient directory in the container that can be mounted as a volume to provide persistence?
If so, that would be a nice addition to the readme.
The text was updated successfully, but these errors were encountered:
From the dockerhub documentation on letsencrypt-nginx-proxy
Volumes
Letsencrypt saves the certificates in /etc/letsencrypt/live. From there, they are linked to the Nginx certificate folder /etc/nginx/certs. You might want to map either the first volume or both of them, if you like your certifacates to survive container recreation.
This is not sufficient, you have to map a volume to /etc/letsencrypt/archive as well, as only links to archive will be created in live. Or maybe it is sufficient to map archive only – but maybe @eforce21 can comment on that?
You are correct about /etc/letsencrypt/archive. This one was missing in the documentation. An additional volume declaration will be added to the Dockerfile of the current development version.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Uh oh!
There was an error while loading. Please reload this page.
Currently this image persists the keys and lets encrypt information in the container. This isn't ideal if the container is removed, as key generation for all the hosts must happen again.
Is there a convenient directory in the container that can be mounted as a volume to provide persistence?
If so, that would be a nice addition to the readme.
The text was updated successfully, but these errors were encountered: