Updated traefik to use auth middleware
This commit is contained in:
parent
d74540d2a2
commit
537da28dc4
@ -26,8 +26,8 @@ services:
|
||||
- "traefik.http.routers.traefik.entrypoints=websecure"
|
||||
- "traefik.http.routers.traefik.service=api@internal"
|
||||
- "traefik.http.routers.traefik.tls.certresolver=myresolver"
|
||||
# - "traefik.http.routers.traefik.middlewares=traefik-auth"
|
||||
# - "traefik.http.middlewares.traefik-auth.basicauth.users=user:$$2y$$05$$6m8MvyzgJ4Kl7/3rL4X6VurX1huMas8a7oPB3xRfBjFbGCR8MUi7W"
|
||||
- "traefik.http.routers.traefik.middlewares=traefik-auth"
|
||||
- "traefik.http.middlewares.traefik-auth.basicauth.users=user:a94a8fe5ccb19ba61c4c0873d391e987982fbbd3"
|
||||
restart: unless-stopped
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user