commit | eb421b2fe08ff2cfda1a38138591b8cca303f771 | [log] [tgz] |
---|---|---|
author | Jerome Magnin <jmagnin@haproxy.com> | Fri Mar 27 22:08:40 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Mar 29 05:47:29 2020 +0200 |
tree | 31929d70bee2c17c0edcdcb3039e6da73b1fddcf | |
parent | 16739778923bbd3f827a8e9ce760c4caa831b5b8 [diff] |
MINOR: listener: add so_name sample fetch Add a sample fetch for the name of a bind. This can be useful to take decisions when PROXY protocol is used and we can't rely on dst, such as the sample config below. defaults mode http listen bar bind 127.0.0.1:1111 server s1 127.0.1.1:1234 send-proxy listen foo bind 127.0.1.1:1234 name foo accept-proxy http-request return status 200 hdr dst %[dst] if { dst 127.0.1.1 }