diff --git a/traefik/rules.yaml b/traefik/rules.yaml index 3159c29..87b0c5c 100644 --- a/traefik/rules.yaml +++ b/traefik/rules.yaml @@ -87,13 +87,6 @@ http: entrypoints: websecure tls: certResolver: myresolver - router-adguardhome=tls: - rule: "HostSNI(`dns.huguette.ovh`)" - service: "service-adguardhome-tls" - entrypoints: dot - tls: - # certResolver: myresolver - services: service-dsm: loadBalancer: @@ -170,11 +163,7 @@ http: passHostHeader: true servers: - url: "http://192.168.1.100:8089" - service-adguardhome-tls: - loadBalancer: - passHostHeader: true - servers: - - url: "http://192.168.1.100:53" + middlewares: replacepathregex-nas: @@ -205,6 +194,22 @@ http: replacepathregex: regex: "^/home/(.*)" replacement: "/$1" + +tcp: + routers: + router-adguardhome=tls: + rule: "HostSNI(`dns.huguette.ovh`)" + service: "service-adguardhome-tls" + entrypoints: dot + tls: + certResolver: myresolver + services: + service-adguardhome-tls: + loadBalancer: + passHostHeader: true + servers: + - url: "http://192.168.1.100:53" + tls: stores: default: