Dzungchu
Jul 17, 2020Nimbostratus
how to Redirect http to https exception any host
hi all,
I has created a irule to redirect http to https exception any IP (example: 10.1.2.0/29) however it is not OK.
could someone share what code to use?
now i only can redirect all request from http--> https with code below.
when HTTP_REQUEST {
if { [HTTP::host] equals "abc.com.vn" } {
HTTP::redirect https://abc.com.vn[HTTP::uri]
}
}