mirror of
https://github.com/lukaszraczylo/gohoarder.git
synced 2026-06-05 22:53:53 +00:00
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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user