Update docs for dnsimple env vars. #1872
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Yesterday I followed the docs (https://docs.traefik.io/toml/#acme-lets-encrypt-configuration) to set traefik with dnsimple as dns provider in order to get Let's Encrypt certs with txt dns challenge.
Thing is traefik says I need to set some env vars for the container to use and setup dnsimple (
DNSIMPLE_EMAIL
andDNSIMPLE_API_KEY
in this case), I set them but wasn't able to use dnsimple (the container exited), found out in the logs it exited because of something related to an OAuth key that wasn't found ('cause it was not set), after searching for the library traefik use for this (https://github.com/xenolf/lego/blob/master/providers/dns/dnsimple/dnsimple.go#L25) I figured out I needed to set a different env var instead ofDNSIMPLE_API_KEY
(DNSIMPLE_OAUTH_TOKEN
) so i did, now it's working without problems.So i opened this PR in order to update the docs.
PS. Sorry, bad commit description, it's midnight here and i'm kinda sleepy.