Forum Discussion

  • There is an iRule already created to do that called "_sys_https_redirect"

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

    Apply that iRule in your HTTP VS.

    KR, Dario.