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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user