The Request Rewrite phase allows modification of incoming requests before further processing. Changes made during this phase are visible to subsequent phases.
http.request.uri.set
: Modifies the URI for the current request.The configuration converts the request URI path to lowercase:
http.request.uri.set:
path: ${lower(http.request.uri.path)}
query: ${http.request.uri.query}
This configuration normalises URLs for better caching and consistency.