fixing basic auth
This commit is contained in:
parent
b82bc17bfe
commit
59c84323e8
@ -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:
|
||||
|
||||
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user