HAProxy community

From one address IP and one port to multi different bind

I have Haproxy 1.5.18
On one IP address and one port I receive traffic from some https (www.page1.com, www.page2.com…) in Haproxy.
Some page need mutual SSL autentication but not all.
It’s posible (based on Host - www.page1.com, www.page2.com…) split this traffic on multiple frontend with different bind (some with mutual SSL autentication and some without) ?

I created a config:

frontend one_ip_port
mode tcp
acl page1 hdr(Host) www.page1.com
acl page2 hdr(Host) www.page2.com
use_backend bk_page1 if page1
use_backend bk_page2 if page2

backend bk_page1
mode tcp
server page1 check

backend bk_page2
mode tcp
server page2 check

frontend page1
mode http
bind ssl crt /etc/pki/tls/certs/cert.pem ca-file /etc/pki/tls/certs/ca_cert.cer verify required
default_backend bk_page1

backend bk_page1
mode http
server s1 check
server s2 check

frontend page2
mode http
bind ssl crt /etc/pki/tls/certs/cert.pem
default_backend bk_page2

backend bk_page2
mode http
server s3 check
server s4 check

But haproxy reports error for mode tcp:
[WARNING] 216/144953 (32701) : config : ‘option forwardfor’ ignored for frontend as it requires HTTP mode.
[WARNING] 216/144953 (32701) : config : ‘option forwardfor’ ignored for backend as it requires HTTP mode.
And not forwarding traffic.
Browser reports “This site is unreachable The server ended the connection unexpectedly.”
Haproxy log have several records:
Aug 5 19:27:54 localhost haproxy[29280]: Connect from to

Someone has an idea ?
Thanks in advance,

Please check the following post: