Authority Override
Demonstrates overriding the HTTP Host header sent to a specific upstream cluster, including requests received over HTTP/2
Versions marked “overview” do not contain this page. Selecting one opens that version’s documentation overview.
Category: Setup-dependent integration
Task: Demonstrates overriding the HTTP Host header sent to a specific upstream cluster, including requests received over HTTP/2
Prerequisites: The external service, credentials, or certificates referenced by this configuration.
Run it: Use ghcr.io/praxis-proxy/praxis:0.7.2 and follow the first reverse-proxy tutorial to mount and start the configuration.
This configuration comes from the selected release. The example has not been run here; external services are not bundled.
Download the source file.
# Per-Cluster Upstream Authority Override
#
# Demonstrates overriding the HTTP Host header sent to a specific
# upstream cluster, including requests received over HTTP/2.
#
# The proxy replaces the downstream Host header with the configured
# authority value before forwarding to the upstream. TLS SNI is
# independent and configured separately via `tls.sni`.
#
listeners:
- name: default
address: "0.0.0.0:8080"
filter_chains: [main]
filter_chains:
- name: main
filters:
- filter: router
routes:
- path_prefix: "/"
cluster: backend
- filter: load_balancer
clusters:
- name: backend
endpoints:
- "localhost:9000"
http:
authority: "api.example.com"
insecure_options:
allow_private_endpoints: true # example proxies to local backends
allow_private_upstreams: true # "localhost" resolves to loopback at connection time