mirror of
https://github.com/Such-Software/xmrcheckout.git
synced 2026-10-17 05:51:34 +02:00
fix: preserve Greenfield API request paths
This commit is contained in:
@@ -20,7 +20,8 @@ server {
|
||||
|
||||
location /api/ {
|
||||
set $api_upstream "api";
|
||||
proxy_pass http://$api_upstream:8000/api/;
|
||||
# No URI suffix: nginx preserves the complete /api/v1/... request path.
|
||||
proxy_pass http://$api_upstream:8000;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
||||
Reference in New Issue
Block a user