redirect
This commit is contained in:
parent
5ee6075e2a
commit
677b0527c5
|
@ -26,8 +26,8 @@ services:
|
|||
# Use the special Traefik service api@internal with the web UI/Dashboard
|
||||
- traefik.http.routers.traefik-dashboard-https.service=api@internal
|
||||
# https-redirect middleware to redirect HTTP to HTTPS
|
||||
- traefik.http.middlewares.https-redirect.redirectscheme.scheme=https
|
||||
- traefik.http.middlewares.https-redirect.redirectscheme.permanent=true
|
||||
# - traefik.http.middlewares.https-redirect.redirectscheme.scheme=https
|
||||
# - traefik.http.middlewares.https-redirect.redirectscheme.permanent=true
|
||||
# traefik-http set up only to use the middleware to redirect to https
|
||||
- traefik.http.routers.traefik-dashboard-http.middlewares=https-redirect
|
||||
# admin-auth middleware with HTTP Basic auth
|
||||
|
|
Loading…
Reference in New Issue