Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-08-09 | HTTP: stored matched action in nxt_http_request_t. | Zhidao HONG | 1 | -2/+8 | |
No functional changes. | |||||
2023-06-30 | Fixed indentation. | Alejandro Colomar | 1 | -2/+2 | |
Signed-off-by: Alejandro Colomar <alx@nginx.com> | |||||
2023-04-20 | HTTP: added basic URI rewrite. | Zhidao HONG | 1 | -0/+104 | |
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 <alx@nginx.com> |