Route HTTPS Traffic based acl

i am wondering if it’s possible to have FE/BK like as routing TCP/HTTP but i would like to choose FE based ACL.i explain:

request to

bind *:443 ssl crt /etc/haproxy/certs/haproxy.pem crt-ignore-err all ca-ignore-err all
mode http
log-format inFE1\ https://%[capture.req.hdr(0)]%%[capture.req.uri]
acl acl_begPath_myapp path_beg -i /myapp
use_backend redirect_for_https if acl_begPath_myapp

bind accept-proxy ssl crt /etc/haproxy/certs/haproxy.pem crt-ignore-err all ca-ignore-err all
mode http
log-format inFE2\ https://%[capture.req.hdr(0)]%%[capture.req.uri]
http-request deny unless { req.hdr(authorization) -m found }

backend redirect_for_https
mode http
server loopback-for-tls-https send-proxy-v2 verify none sni ssl_fc_sni

i want to proxy HTTPS to HTTPS but it’s not working
but the request pass in FE1 but not in FE2

An idea ?

Do you want to redirect http traffic to https?
If so you can do it this way

acl is_https ssl_fc
http-request redirect scheme https if !is_https

No i want to route HTTPS-FE trafic based on acl to another HTTPS-FE

I would say can route it via unix socket ?

frontend fe2
	bind unix@/tmp/www_redirect.sock user haproxy group haproxy mode 0660

	... some logic here ...

backend bk_www_redirect
	server fe2 unix@/tmp/www_redirect.sock

YES route throught Back-End

Use socket abns or not working