From 9283e9c7c2d77b47d8f21fed2ad0962baed6c077 Mon Sep 17 00:00:00 2001 From: mathieu Date: Wed, 3 Jul 2024 17:14:12 +0200 Subject: [PATCH] dns --- traefik/rules.yaml | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) 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: