ℹ️ This page contains an example of a configuration file for the redirection.io agent.
To discover all the configuration file and its options, please refer to the
agent configuration reference. You may also
check the list of configuration examples to
find a configuration example that is close to your technical context.
Preserve the request host
This example forwards requests to backend:8080. As this address is a hostname, the backend would receive Host: backend by default: the preserve_host: true directive forwards the Host header of the incoming request instead. See the Host header sent to the backend.