w
This commit is contained in:
@@ -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/fwd/$upstream_http_content_location;
|
add_header Content-Location $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;
|
||||||
|
|||||||
Reference in New Issue
Block a user