blob: b2129e6eb69b93174c29e341424eadc990d44906 [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
2SPDX-License-Identifier: curl
3Long: haproxy-protocol
4Help: Send HAProxy PROXY protocol v1 header
5Protocols: HTTP
6Added: 7.60.0
7Category: http proxy
8Example: --haproxy-protocol $URL
9See-also: proxy
10Multi: boolean
11---
12Send a HAProxy PROXY protocol v1 header at the beginning of the
13connection. This is used by some load balancers and reverse proxies to
14indicate the client's true IP address and port.
15
16This option is primarily useful when sending test requests to a service that
17expects this header.