Forum Discussion
Lee_Sutcliffe
Apr 10, 2019Nacreous
You would need to configure a virtual server to listen on all ports and use an iRule such as the one below to redirect depending on the incomming port
when HTTP_REQUEST {
switch [TCP::local_port] {
"80" -
"443" - {
HTTP::redirect https://some.url
}
default {
HTTP::redirect https://someother.url
}
}
}