certresolver
This commit is contained in:
@@ -89,6 +89,7 @@ services:
|
|||||||
- "traefik.http.routers.dashboard.entrypoints=websecure"
|
- "traefik.http.routers.dashboard.entrypoints=websecure"
|
||||||
- "traefik.http.routers.dashboard.service=api@internal"
|
- "traefik.http.routers.dashboard.service=api@internal"
|
||||||
- "traefik.http.routers.dashboard.tls=true"
|
- "traefik.http.routers.dashboard.tls=true"
|
||||||
|
- "traefik.http.routers.dashboard.tls.certresolver=letsencrypt"
|
||||||
|
|
||||||
# Basic‑auth middleware
|
# Basic‑auth middleware
|
||||||
- "traefik.http.middlewares.dashboard-auth.basicauth.users=${TRAEFIK_BASIC_AUTH}"
|
- "traefik.http.middlewares.dashboard-auth.basicauth.users=${TRAEFIK_BASIC_AUTH}"
|
||||||
@@ -123,6 +124,7 @@ services:
|
|||||||
- "traefik.http.routers.whoami.entrypoints=websecure"
|
- "traefik.http.routers.whoami.entrypoints=websecure"
|
||||||
# Enable TLS
|
# Enable TLS
|
||||||
- "traefik.http.routers.whoami.tls=true"
|
- "traefik.http.routers.whoami.tls=true"
|
||||||
|
- "traefik.http.routers.whoami.tls.certresolver=letsencrypt"
|
||||||
# Expose the whoami port number to Traefik
|
# Expose the whoami port number to Traefik
|
||||||
- traefik.http.services.whoami.loadbalancer.server.port=80
|
- traefik.http.services.whoami.loadbalancer.server.port=80
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user