/ get to post (wip)
trying to re-write get to post requests
This commit is contained in:
@@ -76,6 +76,7 @@ server {
|
|||||||
add_header Content-Location /rpc/$upstream_http_content_location;
|
add_header Content-Location /rpc/$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_pass http://postgrest/rpc/fwd?p_shortcode=$1;
|
proxy_pass http://postgrest/rpc/fwd?p_shortcode=$1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user