Move traefik to new format

This commit is contained in:
Colin Hebert
2023-01-20 17:21:01 +01:00
parent 54535ebeba
commit 55230c7b2d
14 changed files with 9 additions and 16 deletions

View File

@@ -0,0 +1,10 @@
http:
routers:
traefik-internal:
rule: Host(`traefik`)
service: api@internal
traefik:
rule: '{{ $s := "traefik" }}{{ range $i, $d := splitList "," (env `NASCOMPOSE_TRAEFIK_DOMAINS`) }}{{ if $i }} || {{end}}Host(`{{ $s }}.{{ $d }}`){{ end }}'
service: api@internal
middlewares:
- authelia@file