From 14d6d97bacf9b06ba340ebd4211b2f1b6ad417dd Mon Sep 17 00:00:00 2001 From: Zhidao HONG Date: Thu, 20 Apr 2023 23:20:41 +0800 Subject: HTTP: added basic URI rewrite. This commit introduced the basic URI rewrite. It allows users to change request URI. Note the "rewrite" option ignores the contained query if any and the query from the request is preserverd. An example: "routes": [ { "match": { "uri": "/v1/test" }, "action": { "return": 200 } }, { "action": { "rewrite": "/v1$uri", "pass": "routes" } } ] Reviewed-by: Alejandro Colomar --- docs/changes.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') diff --git a/docs/changes.xml b/docs/changes.xml index 740a51a5..6c89fa15 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -32,6 +32,12 @@ NGINX Unit updated to 1.30.0. date="" time="" packager="Nginx Packaging <nginx-packaging@f5.com>"> + + +basic URI rewrite support. + + + added conditional logging of route selection for HTTP requests. -- cgit