fix: preserve /api prefix in nginx reverse proxy

- Changed proxy_pass from http://backend/ to http://backend
- Trailing slash was stripping /api prefix causing 404 errors
- Backend expects /api/stats not /stats
This commit is contained in:
2026-01-04 03:55:40 +00:00
parent 3ecff61114
commit 8848656193
+1 -1
View File
@@ -81,7 +81,7 @@ server {
limit_req zone=api_limit burst=20 nodelay;
# Proxy settings
proxy_pass http://backend/;
proxy_pass http://backend;
proxy_http_version 1.1;
# Headers