diff --git a/roles/traefik/defaults/main.yml b/roles/traefik/defaults/main.yml index 63561dd801..be363b0ecf 100644 --- a/roles/traefik/defaults/main.yml +++ b/roles/traefik/defaults/main.yml @@ -19,7 +19,8 @@ traefik_image_name: "traefik" traefik_image_version: "latest" traefik_log_level: "INFO" -# find the relevant name and environment variables for your DNS provider at https://go-acme.github.io/lego/dns/ +# find the relevant name and environment variables for your DNS provider at https://go-acme.github.io/lego/dns/. +# More info at https://doc.traefik.io/traefik/https/acme/ traefik_dns_provider: cloudflare traefik_environment_variables: CF_DNS_API_TOKEN: "abcdabcd123412341234" diff --git a/website/docs/getting-started/external-access.md b/website/docs/getting-started/external-access.md index d60bb60b3f..ad7377e299 100644 --- a/website/docs/getting-started/external-access.md +++ b/website/docs/getting-started/external-access.md @@ -31,6 +31,8 @@ Traefik routes traffic from ports 80 (HTTP) and 443 (HTTPS) on your Ansible-NAS Simply set `traefik_enabled: true` in your `all.yml`. By default it listens on ports 80 and 443, but doesn't route any traffic. +Ensure you set the relevant environment variables for your DNS provider in `traefik_environment_variables`. More info at https://doc.traefik.io/traefik/https/acme/. + ## Router Configuration You need to map ports 80 and 443 from your router to your Ansible-NAS box.