diff --git a/cfg/ngx/fw.op.fo.conf b/cfg/ngx/fw.op.fo.conf index d9c7d31..8d51611 100644 --- a/cfg/ngx/fw.op.fo.conf +++ b/cfg/ngx/fw.op.fo.conf @@ -79,8 +79,14 @@ server { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_http_version 1.1; proxy_method POST; # note, that if writing 'post' (lowercase) instead of 'POST' (uppercase), that will lead to the postgrest error "cannot use the post method on rpc" - set $query_string $args; - proxy_set_body $query_string; +# set $query_string $args; +# proxy_set_body $query_string; + +#https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_set_body + +proxy_set_body $request_body&p_dbg=true; + + proxy_pass http://postgrest; }