From 2fe9b7632f8b96cd7575fa4967b437afb0c3c81c Mon Sep 17 00:00:00 2001 From: mr-forust Date: Tue, 6 Oct 2026 16:05:17 +0200 Subject: [PATCH] fix(traefik): correct AdGuard and SearXNG Compose router expressions --- adguardhome/compose.yaml | 2 +- searxng/compose.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/adguardhome/compose.yaml b/adguardhome/compose.yaml index 4ce64d1..69b4e5d 100644 --- a/adguardhome/compose.yaml +++ b/adguardhome/compose.yaml @@ -31,7 +31,7 @@ services: - "traefik.http.routers.adguard-dev.entrypoints=websecure" - "traefik.http.routers.adguard-dev.tls=true" # DoH Router - - "traefik.http.routers.dns-over-https.rule=(Host(`dns.forust.xyz` || Host(`adguard.forust.xyz`)) && PathPrefix(`/dns-query`))" + - "traefik.http.routers.dns-over-https.rule=(Host(`dns.forust.xyz`) || Host(`adguard.forust.xyz`)) && PathPrefix(`/dns-query`)" - "traefik.http.routers.dns-over-https.entrypoints=websecure" - "traefik.http.routers.dns-over-https.tls.certresolver=letsencrypt" diff --git a/searxng/compose.yaml b/searxng/compose.yaml index 89b4c8a..ead695c 100644 --- a/searxng/compose.yaml +++ b/searxng/compose.yaml @@ -12,11 +12,11 @@ services: - "traefik.enable=true" - "traefik.http.services.searxng.loadbalancer.server.port=8080" # Prod Router - - "traefik.http.routers.searxng.rule=Host(`s.forust.xyz` || `search.forust.xyz`)" + - "traefik.http.routers.searxng.rule=Host(`s.forust.xyz`) || Host(`search.forust.xyz`)" - "traefik.http.routers.searxng.entrypoints=websecure" - "traefik.http.routers.searxng.tls.certresolver=letsencrypt" # Local Router - - "traefik.http.routers.searxng-local.rule=Host(`s.workstation.internal` || `searxng.workstation.internal`)" + - "traefik.http.routers.searxng-local.rule=Host(`s.workstation.internal`) || Host(`searxng.workstation.internal`)" - "traefik.http.routers.searxng-local.entrypoints=websecure" - "traefik.http.routers.searxng-local.tls=true" # Dev Router