具体添加以下: backend 选项下面加入: reqirep ^Host:\ (.*) Host:\ 标识 参考网址: http://stackoverflow.com/questions/26136239/haproxy-reqirep-on-host-header-not-forwarding