mirror of
https://github.com/curl/curl.git
synced 2025-01-12 13:55:11 +08:00
e7219c2bdc
Use imperative mood consistently for the first sentence describing an option. "Set this" instead "tell curl to set" or "this sets..." Plus some extra cleanups and rephrasing. Closes #13106
24 lines
594 B
Markdown
24 lines
594 B
Markdown
---
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
SPDX-License-Identifier: curl
|
|
Long: haproxy-protocol
|
|
Help: Send HAProxy PROXY protocol v1 header
|
|
Protocols: HTTP
|
|
Added: 7.60.0
|
|
Category: http proxy
|
|
Multi: boolean
|
|
See-also:
|
|
- proxy
|
|
Example:
|
|
- --haproxy-protocol $URL
|
|
---
|
|
|
|
# `--haproxy-protocol`
|
|
|
|
Send a HAProxy PROXY protocol v1 header at the beginning of the connection.
|
|
This is used by some load balancers and reverse proxies to indicate the
|
|
client's true IP address and port.
|
|
|
|
This option is primarily useful when sending test requests to a service that
|
|
expects this header.
|