I Rule _sys_https_redirect will it work with any port number ?

Hi, Does anyone know if it is possible to use the out of the box I Rule “_sys_https_redirect” provided on the F5 BIG-IP LTM with another port other than HTTPS 443, I am going to use “_sys_https_redirect” to point all HTTP traffic via a VIP to HTTPS traffic with the same VIP IP obviously, From what I can see that is a pretty straight forward exercise, But if the HTTPS port I have built the HTTPS VIP is not default 443, It is in the 8000 range will this stop the I Rule from working ?

Thanks

Ross

Hi,

if you want to redirect to another port, you need to use something like this:

when HTTP_REQUEST {
  HTTP::redirect https://[getfield [HTTP::host] ":" 1]:8000[HTTP::uri] 
  }

Thanks Vitaliy :slight_smile: