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 <noreply@anthropic.com>
This commit is contained in:
2026-04-07 13:10:41 +01:00
parent 74f606459f
commit 6edca785ff

View File

@@ -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;