Update basicAuth users format in traefik.yml

This commit is contained in:
2024-02-28 15:01:15 +08:00
parent 1e05b3a44f
commit 351393a8ac
+1 -2
View File
@@ -113,8 +113,7 @@ http:
middlewares: middlewares:
auth: auth:
basicAuth: basicAuth:
users: users: "{{env "DASHBOARD_USER"}}:{{env "DASHBOARD_PASSWORD"}}"
- "{{env "DASHBOARD_USER"}}:{{env "DASHBOARD_PASSWORD"}}"
csrf: csrf:
# https://doc.traefik.io/traefik/middlewares/http/headers/#hostsproxyheaders # https://doc.traefik.io/traefik/middlewares/http/headers/#hostsproxyheaders
# https://docs.djangoproject.com/en/dev/ref/csrf/#ajax # https://docs.djangoproject.com/en/dev/ref/csrf/#ajax