2023-01-02 20:51:48 +08:00
|
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
2022-06-14 06:12:03 +08:00
|
|
|
SPDX-License-Identifier: curl
|
2016-12-01 20:05:04 +08:00
|
|
|
Long: haproxy-protocol
|
2018-05-18 23:47:47 +08:00
|
|
|
Help: Send HAProxy PROXY protocol v1 header
|
2016-12-01 20:05:04 +08:00
|
|
|
Protocols: HTTP
|
|
|
|
Added: 7.60.0
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: http proxy
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: --haproxy-protocol $URL
|
2021-11-15 22:58:20 +08:00
|
|
|
See-also: proxy
|
2022-10-18 16:39:43 +08:00
|
|
|
Multi: boolean
|
2016-12-01 20:05:04 +08:00
|
|
|
---
|
2021-08-31 22:37:14 +08:00
|
|
|
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.
|
2016-12-01 20:05:04 +08:00
|
|
|
|
|
|
|
This option is primarily useful when sending test requests to a service that
|
|
|
|
expects this header.
|