From 4462c144afa9403afd15f9b9eea0daecd656c218 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=D0=B5rgi=D0=BE=20N=D0=B5mir=D0=BEwski?= Date: Thu, 3 Apr 2025 17:44:24 +0300 Subject: [PATCH] fix #124, update rewrite rule to use new api MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit this switches from get/cid/oid to objects/cid/by_id/oid Signed-off-by: Sеrgiо Nеmirоwski --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 36b1f08..3ae0aea 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ server { } location ~ "^\/gate\/get(/.*)?\/?$" { - rewrite ^/gate/get/(.*) /v1/get/$data_cid/$1 break; + rewrite ^/gate/get/(.*) /v1/objects/$data_cid/by_id/$1 break; proxy_pass $neofs_rest_gateway; proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504 http_403 http_429;