diff options
author | Lawrence Matthews <lmatthew@yelp.com> | 2016-12-01 04:05:04 -0800 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-03-17 11:50:06 +0100 |
commit | 6baeb6df35d24740c55239f24b5fc4ce86f375a5 (patch) | |
tree | 6a8ec40408e6827f40b750985517e575c89545fc /docs/cmdline-opts | |
parent | 9572831b0470378c2f45f2891feb91dea19c16d7 (diff) |
CURLOPT_HAPROXYPROTOCOL: support the HAProxy PROXY protocol
Add --haproxy-protocol for the command line tool
Closes #2162
Diffstat (limited to 'docs/cmdline-opts')
-rw-r--r-- | docs/cmdline-opts/haproxy-protocol.d | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/cmdline-opts/haproxy-protocol.d b/docs/cmdline-opts/haproxy-protocol.d new file mode 100644 index 000000000..52e156058 --- /dev/null +++ b/docs/cmdline-opts/haproxy-protocol.d @@ -0,0 +1,11 @@ +Long: haproxy-protocol +Help: Send HAProxy PROXY protocol header +Protocols: HTTP +Added: 7.60.0 +--- +Send a HAProxy PROXY protocol 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. |