21-Dec-2020 01:31
HI,
I'm trying to redirect a http response from the backend server to https via iRule, but its not working.
Please check if the below iRule is correct.
when HTTP_RESPONSE {
if { [TCP::server_port] contains "80"} {
HTTP::redirect "https://www.abcxyz.com/"
}
}
21-Dec-2020 02:21
Any reason why you are not using the defaut http2https redirect Irule.
21-Dec-2020 03:02
Hi Jai,
I was not sure if the default one would work for a HTTP_RESPONSE.
Does the default redirect work as expected similar to HTTP REQUEST?