The upstream forward module reads the url from the policy request.
{
"name": "example",
"host": "example.com",
"path": "/*",
"modules": [
{
"name": "upstream-forward",
"order": 0,
}
]
}
None
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
url |
Yes | String | The absolute (urlencoded) url to the resource to fetch. |
If multiple rate limits apply, the various limits will be separated in the response headers by whitespace.
| Header | Description |
|---|---|
X-Upstream-Host |
The host to connect to. |
X-Upstream-Path |
The upstream path to request. |
X-Upstream-Port |
The port to connect to. |
X-Upstream-Preserve-Host |
Whether the upstream request should preserve the original host header or not. |
X-Upstream-Proto |
The protocol to use when connecting. |
X-Upstream-URL |
The upstream URL to request. |