update Traefik configuration to use websecure entrypoint and enable TLS with Let's Encrypt
This commit is contained in:
parent
65117ac5b0
commit
74eb2992ae
1 changed files with 3 additions and 1 deletions
|
|
@ -21,7 +21,9 @@ services:
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.traefik.rule=Host(`traefik.stackbabber.nl`)"
|
- "traefik.http.routers.traefik.rule=Host(`traefik.stackbabber.nl`)"
|
||||||
- "traefik.http.routers.traefik.entrypoints=web"
|
- "traefik.http.routers.traefik.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.traefik.tls=true"
|
||||||
|
- "traefik.http.routers.traefik.tls.certresolver=letsencrypt"
|
||||||
- "traefik.http.routers.traefik.service=api@internal"
|
- "traefik.http.routers.traefik.service=api@internal"
|
||||||
- "traefik.http.routers.traefik.middlewares=authentik@file"
|
- "traefik.http.routers.traefik.middlewares=authentik@file"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue