-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from keriati/master
Thanks for the quick PR!
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,14 +27,14 @@ Few things to note: | |
* Zone / Zone / Read | ||
* Zone / DNS / Edit | ||
2. You should add the following to your Caddyfile as the [tls directive](https://caddyserver.com/docs/caddyfile/directives/tls#tls). Note that I haven't figured out why the using `{env.CLOUDFLARE_EMAIL}` for the email address didn't work, so for now I've got it manually declared: | ||
2. You should add the following to your Caddyfile as the [tls directive](https://caddyserver.com/docs/caddyfile/directives/tls#tls). | ||
``` | ||
tls [email protected] { | ||
dns cloudflare {env.CLOUDFLARE_API_TOKEN} | ||
tls {$CLOUDFLARE_EMAIL} { | ||
dns cloudflare {$CLOUDFLARE_API_TOKEN} | ||
} | ||
``` | ||
3. This image now supports tagging! [See available tags here](https://hub.docker.com/r/slothcroissant/caddy-cloudflaredns/tags). To select a specific version of `caddy`, set your [Docker image tag](https://docs.docker.com/engine/reference/run/#imagetag) to the caddy version you'd like to use. | ||
Example: `slothcroissant/caddy-cloudflaredns:2.4.3` | ||
Example: `slothcroissant/caddy-cloudflaredns:2.4.3` |