From 43189e3f763612c44ec20873c3bbb5d2633ee72c Mon Sep 17 00:00:00 2001 From: fro Date: Wed, 29 Oct 2025 06:05:08 -0500 Subject: [PATCH] w --- cfg/ngx/fw.op.fo.conf | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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; }