Forum Discussion
xuwen
Nov 12, 2021Cumulonimbus
Local Traffic ›› Profiles : SSL : Client >>Configuration(Advanced)>>Non-SSL Connections(enable),
use iRules to traffic non ssl to redirect https:
when CLIENTSSL_CLIENTHELLO {
set need_ssl 1
}
when HTTP_REQUEST {
if { ![info exists need_ssl] } {
HTTP::redirect "https://[HTTP::host][HTTP::uri]"
}
}