15 lines
369 B
Django/Jinja
15 lines
369 B
Django/Jinja
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"
|