Skip to content

Commit

Permalink
Added notes for DNS providers. Fixes #681
Browse files Browse the repository at this point in the history
  • Loading branch information
davestephens committed Feb 27, 2024
1 parent 2247633 commit 5ce9d06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion roles/traefik/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions website/docs/getting-started/external-access.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/.

Check failure on line 34 in website/docs/getting-started/external-access.md

View workflow job for this annotation

GitHub Actions / Lint Docs

Bare URL used [Context: "https://doc.traefik.io/traefik..."]

Check failure on line 34 in website/docs/getting-started/external-access.md

View workflow job for this annotation

GitHub Actions / Lint

Bare URL used [Context: "https://doc.traefik.io/traefik..."]

## Router Configuration

You need to map ports 80 and 443 from your router to your Ansible-NAS box.
Expand Down

0 comments on commit 5ce9d06

Please sign in to comment.