Add sites to LE resolver & securehttps middleware

This commit is contained in:
2020-09-04 02:14:12 -04:00
parent 1823318e51
commit 05fea8708b
6 changed files with 10 additions and 3 deletions

View File

@@ -35,7 +35,8 @@
labels:
traefik.http.routers.traefik.rule: "Host(`{{ traefik_domain }}`)"
traefik.http.middlewares.auth.basicauth.users: "{{ traefik_auth }}"
traefik.http.routers.traefik.middlewares: "auth@docker"
traefik.http.routers.traefik.tls.certresolver: letsencrypt
traefik.http.routers.traefik.middlewares: "securehttps@file,auth@docker"
traefik.http.routers.traefik.service: "api@internal"
traefik.http.routers.traefik.entrypoints: websecure
traefik.http.routers.traefik.tls: "true"