fix le certresolver

This commit is contained in:
leo 2024-08-08 11:05:58 +05:00
parent 281e77e0dd
commit e8f7ea91ff

View File

@ -31,6 +31,7 @@ services:
- "traefik.http.routers.dashboard.rule=Host(`traefik.${SERVER_DOMAIN}`)" - "traefik.http.routers.dashboard.rule=Host(`traefik.${SERVER_DOMAIN}`)"
- "traefik.http.routers.dashboard.entrypoints=https" - "traefik.http.routers.dashboard.entrypoints=https"
- "traefik.http.routers.dashboard.tls=true" - "traefik.http.routers.dashboard.tls=true"
- "traefik.http.routers.dashboard.tls.certresolver=le"
- "traefik.http.routers.dashboard.service=api@internal" - "traefik.http.routers.dashboard.service=api@internal"
- "traefik.http.routers.dashboard.middlewares=auth" - "traefik.http.routers.dashboard.middlewares=auth"
- "traefik.http.middlewares.auth.basicauth.usersfile=/httpauth/usersfile.htpasswd" - "traefik.http.middlewares.auth.basicauth.usersfile=/httpauth/usersfile.htpasswd"