-
Notifications
You must be signed in to change notification settings - Fork 822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add global variable for default LETSENCRYPT_EMAIL #525
Comments
Well, this is not documented yet but I realised a few month ago that The real behaviour is that the first I've lacked time lately to address this. |
I'm currently working on this feature and on a modification to the doc that explains why the base Here is the WIP doc modification, advice would be welcome: Contact addressThe If you want to do this globally for all containers, set Please note that for each separate ACME account, only the email provided as a container environment variable at the time of this account creation will be subsequently used. If you don't provide an email address when the account is created, this account will remain without a contact address even if you provide an address in the future. Example: $ docker run -d nginx \
VIRTUAL_HOST=somedomain.tld \
LETSENCRYPT_HOST=somedomain.tld \
LETSENCRYPT_EMAIL=contact@somedomain.tld
$ docker run -d nginx \
VIRTUAL_HOST=anotherdomain.tld \
LETSENCRYPT_HOST=anotherdomain.tld \
LETSENCRYPT_EMAIL=someone@anotherdomain.tld This will result in only the first address being used (contact@somedomain.tld) and it will be used for all future certificates issued with the default ACME account. This incorrect behaviour is due to a misunderstanding about the way ACME handled contact address(es) when the container was changed to re-use ACME account keys (more info there) and the fact that If you need to use different contact addresses, you'll need to either use different ACME account aliases or disable ACME account keys re-utilization entirely. |
@jeroen-plug @linusg @almereyda @jalu14, any comment on the above ? |
Looks clear to me. |
Right, I did not notice that, I'll have to rephrase it.
Agreed. |
I agree with @jeroen-plug as well, looks good otherwise. I like the explanation at the end on what exactly is happening and why it's happening. Thanks! |
Done as of #550 edit: let me know if you catch any typo or error in the doc |
Any idea when it will be released @buchdag? I can't wait to strip all the equal |
It's been merged to master so it's already available in edit: I might make a |
All of the containers I use nginx-proxy for are using the same value for LETSENCRYPT_EMAIL. It would be cool if I could set a default for this value, by setting an environment variable on the letsencrypt container.
The text was updated successfully, but these errors were encountered: