Defines the backend a proxy forwards messages to, given either as a host with a port or as a full url. The destination can be computed per request with inline ${expression} templates; outbound TLS and an overriding HTTP method can also be configured here.
Rewrites the outgoing Host header to the target host. Disable to forward the client's original Host header unchanged.
false
escaping
false
URL
How values computed from ${...} templates are escaped before being inserted into the URL, to prevent injection. URL escapes a whole URL, SEGMENT a single path segment, NONE disables escaping.
SEGMENT
host
false
-
Host name or IP address of the target. Ignored when url is set.
localhost
language
false
SpEL
Expression language used to evaluate inline ${...} templates in the URL.
groovy
method
false
-
Overrides the HTTP method used for the backend call, replacing the method of the incoming request. When not set, the original method is kept.
POST
port
false
80, or 443 when the target uses TLS
Port number of the target. Ignored when url is set.
8080
url
false
-
Absolute URL of the target. When set, host and port are ignored. Supports inline ${<expression>} templates. If the URL contains a path, that path replaces the request path; usually the request path should be kept, so give a URL without a path such as https://api.predic8.de.