diff --git a/manuscript/ha-docker-swarm/traefik.md b/manuscript/ha-docker-swarm/traefik.md index eb203197..7ef23b4f 100644 --- a/manuscript/ha-docker-swarm/traefik.md +++ b/manuscript/ha-docker-swarm/traefik.md @@ -34,7 +34,7 @@ To deal with these gaps, we need a front-end load-balancer, and in this design, While it's possible to configure traefik via docker command arguments, I prefer to create a config file (`traefik.toml`). This allows me to change traefik's behaviour by simply changing the file, and keeps my docker config simple. -Create `/var/data/traefikv2/traefik.toml` as follows: +Create `/var/data/config/traefikv2/traefik.toml` as follows: ```bash [global] @@ -171,7 +171,7 @@ services: - "traefik.http.routers.api.tls=true" - "traefik.http.routers.api.tls.certresolver=main" - "traefik.http.routers.api.service=api@internal" - - "traefik.http.services.dummy.loadbalancer.server.port=9999" + - "traefik.http.services.api.loadbalancer.server.port=8080" # uncomment this to enable forward authentication on the traefik api/dashboard #- "traefik.http.routers.api.middlewares=forward-auth"