This commit is contained in:
fro
2025-10-29 05:30:16 -05:00
parent f6c7bb45cc
commit 2cdc0295f5

View File

@@ -75,7 +75,7 @@ location ~ ^/([A-Za-z0-9]+) {
rewrite ^/([A-Za-z0-9]+) /rpc/fwd/$1 break; rewrite ^/([A-Za-z0-9]+) /rpc/fwd/$1 break;
default_type application/json; default_type application/json;
proxy_hide_header Content-Location; proxy_hide_header Content-Location;
add_header Content-Location /rpc/$upstream_http_content_location; add_header Content-Location /rpc/fwd/$upstream_http_content_location;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_http_version 1.1; proxy_http_version 1.1;
proxy_method post; proxy_method post;