Back to iRules
when HTTP_REQUEST { if { [TCP::local_port] == 8400 } { HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri] } }