From 430050e82d42ff8a02349acbaf962f8d4edb0eb8 Mon Sep 17 00:00:00 2001 From: David Lougheed Date: Fri, 15 Mar 2024 13:48:54 -0400 Subject: [PATCH] docs: comment on uri vs req_uri --- src/proxy_auth_v2.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proxy_auth_v2.lua b/src/proxy_auth_v2.lua index ba71433..7c97766 100644 --- a/src/proxy_auth_v2.lua +++ b/src/proxy_auth_v2.lua @@ -57,7 +57,7 @@ local uri = ngx.var.uri -- post-rewrite URI -- TODO: replace this with properly authorization-compatible services if req_method == "GET" and ( - uri == "/service-info" or + uri == "/service-info" or -- any service-info endpoint; rewritten from original /api/.../service-info req_uri_no_qp == "/api/metadata/api/projects" or req_uri_no_qp == "/api/metadata/api/public" or req_uri_no_qp == "/api/metadata/api/public_overview" or