From 5bed750baa5d782427e98550d34124f569e2fff8 Mon Sep 17 00:00:00 2001 From: Doan Luu Duc Tai Date: Fri, 30 Oct 2026 16:07:29 -0500 Subject: Preserve the SearXNG path prefix for local search requests --- infra/Caddyfile.local | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/infra/Caddyfile.local b/infra/Caddyfile.local index 03b4a16..4d3bf11 100644 --- a/infra/Caddyfile.local +++ b/infra/Caddyfile.local @@ -14,17 +14,16 @@ # along with this program. If not, see . :80 { + redir /git /git/?{query} permanent + redir /search /search/?{query} permanent @git path /git /git/* /cgit.js /cgit.png handle @git { - redir /git /git/ uri strip_prefix /git reverse_proxy cgit:8080 } @search path /search /search/* handle @search { - redir /search /search/ - uri strip_prefix /search reverse_proxy searxng:8080 { header_up X-Script-Name /search } -- cgit v1.2.3