mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-03 16:59:22 +02:00
proxy: add preserve host header (#463)
Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
This commit is contained in:
parent
34e35b7168
commit
8956bf4411
6 changed files with 90 additions and 72 deletions
|
@ -759,6 +759,17 @@ Set Request Headers allows you to set static values for given request headers. T
|
|||
X-Your-favorite-authenticating-Proxy: "Pomerium"
|
||||
```
|
||||
|
||||
### Preserve Host Header
|
||||
|
||||
- `yaml`/`json` setting: `preserve_host_header`
|
||||
- Type: `bool`
|
||||
- Optional
|
||||
- Default: `false`
|
||||
|
||||
When enabled, this option will pass the host header from the incoming request to the proxied host, instead of the destination hostname.
|
||||
|
||||
See [ProxyPreserveHost](http://httpd.apache.org/docs/2.0/mod/mod_proxy.html#proxypreservehost).
|
||||
|
||||
[base64 encoded]: https://en.wikipedia.org/wiki/Base64
|
||||
[environmental variables]: https://en.wikipedia.org/wiki/Environment_variable
|
||||
[identity provider]: ./identity-providers.md
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue