This commit is contained in:
mathieu 2024-07-03 17:14:12 +02:00
parent bcbf24523c
commit 9283e9c7c2

View File

@ -87,13 +87,6 @@ http:
entrypoints: websecure entrypoints: websecure
tls: tls:
certResolver: myresolver certResolver: myresolver
router-adguardhome=tls:
rule: "HostSNI(`dns.huguette.ovh`)"
service: "service-adguardhome-tls"
entrypoints: dot
tls:
# certResolver: myresolver
services: services:
service-dsm: service-dsm:
loadBalancer: loadBalancer:
@ -170,11 +163,7 @@ http:
passHostHeader: true passHostHeader: true
servers: servers:
- url: "http://192.168.1.100:8089" - url: "http://192.168.1.100:8089"
service-adguardhome-tls:
loadBalancer:
passHostHeader: true
servers:
- url: "http://192.168.1.100:53"
middlewares: middlewares:
replacepathregex-nas: replacepathregex-nas:
@ -205,6 +194,22 @@ http:
replacepathregex: replacepathregex:
regex: "^/home/(.*)" regex: "^/home/(.*)"
replacement: "/$1" 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: tls:
stores: stores:
default: default: