F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

sysadmin_2015_2's avatar
sysadmin_2015_2
Icon for Nimbostratus rankNimbostratus
Dec 03, 2015
Solved

iRule - https redirect - Google rating

Hello,   One of our sites has two virtual servers, one for port 80 and another for 443. The port 80 virtual server currently has a https redirect iRule attached sending all port 80 traffic to 443...
  • Lee_Payne_53457's avatar
    Dec 03, 2015

    You could use the HTTP::respond command to do this.

     

    when HTTP_REQUEST { HTTP::respond 301 "Location" "[HTTP::host][HTTP::uri]" }