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