From 262f71bc8fc567cb671b8f7f918882e234d775cb Mon Sep 17 00:00:00 2001 From: fro Date: Wed, 29 Oct 2025 05:50:00 -0500 Subject: [PATCH] w (this is a tad tricky) --- cfg/ngx/fw.op.fo.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cfg/ngx/fw.op.fo.conf b/cfg/ngx/fw.op.fo.conf index e06dcf4..38613f4 100644 --- a/cfg/ngx/fw.op.fo.conf +++ b/cfg/ngx/fw.op.fo.conf @@ -74,14 +74,14 @@ server { # https://stackoverflow.com/questions/53353572/proxy-pass-cannot-have-uri-part-in-location-given-by-regular-expression location ~ ^/([A-Za-z0-9]+) { - rewrite ^/([A-Za-z0-9]+) /rpc/fwd?p_shortcode=$1 break; + rewrite ^/([A-Za-z0-9]+) /rpc/fwd?p_shortcode=$1&p_dbg=true break; default_type application/json; proxy_hide_header Content-Location; add_header Content-Location /rpc/$upstream_http_content_location; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_http_version 1.1; - proxy_method post; - proxy_set_body $args; + #proxy_method post; + #proxy_set_body $args; proxy_pass http://postgrest; }