Fixed BasicAuth on dashboard
This commit is contained in:
parent
f1917f6a40
commit
cbc40e2f82
@ -21,8 +21,9 @@
|
|||||||
- name: "traefik-net"
|
- name: "traefik-net"
|
||||||
labels:
|
labels:
|
||||||
traefik.http.routers.traefik.rule: "Host(`{{ traefik_domain }}`)"
|
traefik.http.routers.traefik.rule: "Host(`{{ traefik_domain }}`)"
|
||||||
|
traefik.http.middlewares.auth.basicauth.users: "{{ traefik_auth }}"
|
||||||
|
traefik.http.routers.traefik.middlewares: "auth@docker"
|
||||||
traefik.http.routers.traefik.service: "api@internal"
|
traefik.http.routers.traefik.service: "api@internal"
|
||||||
traefik.http.middlewares.traefik.basicauth.users: "{{ traefik_auth }}"
|
|
||||||
traefik.docker.network: "proxy_traefik-net"
|
traefik.docker.network: "proxy_traefik-net"
|
||||||
traefik.enable: "true"
|
traefik.enable: "true"
|
||||||
volumes:
|
volumes:
|
||||||
|
Loading…
Reference in New Issue
Block a user