Add some configs
This commit is contained in:
8
config/docker/old/traefik/config/mw-basic-auth.yml
Normal file
8
config/docker/old/traefik/config/mw-basic-auth.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
http:
|
||||
middlewares:
|
||||
middlewares-basic-auth:
|
||||
basicAuth:
|
||||
# users:
|
||||
# - "user:$apsdfs.$EntPC0w3FtswWvC/6fTVJ7IUVtX1"
|
||||
usersFile: "/users" #be sure to mount the volume through docker-compose.yml
|
||||
realm: "Traefik 2 Basic Auth"
|
||||
Reference in New Issue
Block a user