For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

immu's avatar
immu
Icon for Cirrus rankCirrus
Apr 25, 2019

Policy writing

Hi,

 

Can you please help me with writing a policy for below

 

Condition: http-host host equals abc.com Action: http-reply redirect location https://abc.com

 

Thanks, Imran

 

2 Replies

  • that should work with a http to https redirect irule below:

     

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

     

  • All the policy configuration items are described in your question... what do you expect?