Docs: fix listener 'proxy_protocol_behavior' support version 1 and 2 (#27594)

* fix listener 'proxy_protocol_behavior' docs to mention support for v1 and v2

* Update website/content/docs/configuration/listener/tcp/index.mdx

Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>

---------

Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
This commit is contained in:
Peter Wilson 2024-06-25 17:36:29 +01:00 committed by GitHub
parent 93682b0547
commit ad1b5dfcd6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -162,7 +162,7 @@ default value in the `"/sys/config/ui"` [API endpoint](/vault/api-docs/system/co
`default_max_request_duration` for this listener. `default_max_request_duration` for this listener.
- `proxy_protocol_behavior` `(string: "")` When specified, enables a PROXY - `proxy_protocol_behavior` `(string: "")` When specified, enables a PROXY
protocol version 1 behavior for the listener. protocol behavior for the listener (version 1 and 2 are both supported).
Accepted Values: Accepted Values:
- _use_always_ - The client's IP address will always be used. - _use_always_ - The client's IP address will always be used.