From d49687e12ed9df89d9afd3132fee6895ef51e203 Mon Sep 17 00:00:00 2001 From: fro Date: Tue, 30 Dec 2025 10:01:28 -0500 Subject: [PATCH] / fwd to idx fro/pi3#59 --- cfg/ngx/wa.fo.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cfg/ngx/wa.fo.conf b/cfg/ngx/wa.fo.conf index 44e4465..8db9787 100644 --- a/cfg/ngx/wa.fo.conf +++ b/cfg/ngx/wa.fo.conf @@ -69,13 +69,13 @@ server { 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_pass http://postgrest/rpc/fwd?p_shortcode=$1&p_dbg=true; + proxy_pass http://postgrest/rpc/idx?p_shortcode=$1&p_dbg=true; } # /shortcode | normal mode location ~ ^/([A-Za-z0-9]+) { # https://stackoverflow.com/questions/53353572/proxy-pass-cannot-have-uri-part-in-location-given-by-regular-expression - rewrite ^/([A-Za-z0-9]+) /rpc/fwd break; + rewrite ^/([A-Za-z0-9]+) /rpc/idx break; default_type application/json; proxy_hide_header Content-Location; add_header Content-Location /rpc/$upstream_http_content_location;