Haproxy选项forwardfor只适用于第一个请求
haproxy为什么只在第一次发送X-Forwarded-For头文件? 这是我已经设置了option forwardfor的(唯一的)地方: backend nodes mode http balance roundrobin option forwardfor server host ip:80 check 只有第一个HTTP请求包含X-Forwarded-For头部: Host: example.com User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:44.0) Gecko/20100101 Firefox/44.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Authorization: Basic Og== Connection: keep-alive Cache-Control: max-age=0 X-Forwarded-For: replaced_actual_ip 连续的请求中缺less相同的头文件: Host: example.com User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X […]