Forum Discussion
Ferraral_223579
Nimbostratus
Oct 06, 2016HTTP to HTTPS Redirect (Simple I-Rule)
Brand new to I-Rules and I was hoping someone could help me with creating a simple I-Rule for redirecting traffic from an HTTP VIP to an HTTPS VIP. FYI - I am terminating the SSL Cert on the LB for H...
Jinshu
Cirrus
Oct 06, 2016Use the existing irule '
_sys_https_redirect' That is for http to https redirect only and add this to http VIP.
when HTTP_REQUEST {
HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]
}
-Jinshu
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects