fixing basic auth

This commit is contained in:
Kyattsukuro 2026-10-19 23:54:00 +02:00
parent b82bc17bfe
commit 59c84323e8
2 changed files with 1 additions and 2 deletions

View File

@ -21,7 +21,6 @@ services:
- DUCKDNS_TOKEN={{ traefik.duckdns_api_token }}
{% endif -%}
- AUTH_STRING={{ traefik.basic_auth_password }}
- DUCKDNS_POLLING_INTERVAL=5
- DUCKDNS_PROPAGATION_TIMEOUT=120
volumes:

View File

@ -35,7 +35,7 @@ http:
middlewares:
traefik-auth:
basicauth:
users: '{% raw %}{{ env "AUTH_STRING" }}{% endraw %}'
users: '{{ traefik.basic_auth_password }}'
{% if traefik.duckdns_api_token %}
redirect-duckdns: