16 lines
369 B
Text
16 lines
369 B
Text
|
http:
|
||
|
middlewares:
|
||
|
simpleAuthTraefikDashboard:
|
||
|
basicAuth:
|
||
|
users:
|
||
|
{% for item in traefik_basic_auth_users %} - "{{ item }}"{% endfor %}
|
||
|
|
||
|
routers:
|
||
|
api:
|
||
|
rule: "Host(`{{ traefik_dashboard_hostname }}`)"
|
||
|
entrypoints:
|
||
|
- "websecure"
|
||
|
middlewares:
|
||
|
- "simpleAuthTraefikDashboard"
|
||
|
service: "api@internal"
|