HTTP to HTTPS Policy Creation Procedure: BIG-IP 12.x

As you all know, the interface and procedure for policy creation changed significantly between 11.5/6 and 12.x. Was wondering if anyone has tackled creating an HTTP-to-HTTPS policy on 12.x. I’m using the https://[getfield[HTTP::host]":"1][HTTP::uri] syntax in my redirect policy rule. Just wanted to check with the community to see if anyone else has kicked the tires on this one.

Thanks!

Hello, It’s simple when doing like this (https://support.f5.com/csp/article/K26312346:disappointed_face:

tcl:https://[getfield [HTTP::host] ":" 1][HTTP::uri]

Best regards.