From 6edca785ffb2b61579d49b37fe834b2724692632 Mon Sep 17 00:00:00 2001 From: Adam French Date: Tue, 7 Apr 2026 13:10:41 +0100 Subject: [PATCH] Fix proxy_pass path stripping for wallabag and uptime-kuma Add trailing slash to proxy_pass so nginx strips the subpath prefix before forwarding requests to the upstream containers. Co-Authored-By: Claude Opus 4.6 --- nginx/nginx.conf.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx/nginx.conf.template b/nginx/nginx.conf.template index e621148..84257f9 100644 --- a/nginx/nginx.conf.template +++ b/nginx/nginx.conf.template @@ -237,7 +237,7 @@ http { } location /uptime-kuma/ { - proxy_pass http://$UPTIMEKUMA_HOST:$UPTIMEKUMA_PORT; + proxy_pass http://$UPTIMEKUMA_HOST:$UPTIMEKUMA_PORT/; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; @@ -264,7 +264,7 @@ http { } location /wallabag/ { - proxy_pass http://$WALLABAG_HOST:$WALLABAG_PORT; + proxy_pass http://$WALLABAG_HOST:$WALLABAG_PORT/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;