Move to self-serve domain

This commit is contained in:
Colin Hebert
2023-04-30 12:14:14 +10:00
parent 87bfb200be
commit 50c7bb9f86
9 changed files with 12 additions and 20 deletions

View File

@@ -1,7 +1,7 @@
http:
routers:
qbittorrent-api:
rule: '{{ $s := "qbittorrent-api" }}{{ range $i, $d := splitList "," (env `NASCOMPOSE_TRAEFIK_DOMAINS`) }}{{ if $i }} || {{end}}Host(`{{ $s }}.{{ $d }}`){{ end }}'
rule: 'qbittorrent-api.{{ env `NASCOMPOSE_DOMAIN` }}'
service: qbittorrent@docker
middlewares:
- authelia-basic@file