# Pastebin x2conQNJ frontend test_8001 bind 10.0.0.16:8001 option httplog maxconn 1000000 mode http acl ttaaa dst_port 8001 acl secure dst_port 4447 http-request redirect code 302 location https://%[hdr(host),regsub(:\d+,,g)]:4447 if !{ ssl_fc } ttaaa