Solved
Forum Discussion
Ritchie-T
Sep 17, 2020Nimbostratus
Excellent. Jason!
I did not know that was an option. With Non-SSL Connections enabled in the client SSL profile I do not need to disable the SSL for port 80 requests anymore under "when CLIENT_ACCEPTED". This leaves me free to process the irule using only "when HTTP_REQUEST". I had to tweak the irule slightly from my original post, but the below works a charm 👍
when HTTP_REQUEST {
if { [TCP::local_port] == 80 } {
if {[HTTP::has_responded]}{return}
HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]
event disable
}
}