added http to https traefik forward

This commit is contained in:
Simon M. Haller-Seeber 2022-07-18 16:14:59 +02:00
parent 8995a35f70
commit 46cdf93fd5

View File

@ -49,6 +49,9 @@ services:
- "traefik.http.routers.dashboard.middlewares=auth"
- "traefik.http.middlewares.auth.basicauth.usersfile=/users.htpasswd"
- "traefik.http.routers.dashboard.service=api@internal"
- "traefik.http.middlewares.sslheader.headers.customrequestheaders.X-Forwarded-Proto=https"
- "traefik.http.routers.proxy-https.entrypoints=web-secure"
- "traefik.http.routers.proxy-https.rule=Host(`${MYDOMAIN}`)"
logging:
driver: "json-file"