Forum Discussion
Sean_Lonning_29
Nimbostratus
Nov 01, 2017HTTPS to HTTPS on HTTP to HTTPS redirect iRule
I have three scenarios I am trying to create an iRule for. I have two VIP's for one domain, one is HTTP and one is HTTPS. Please advise if there is a better setup for the VIP's if this iRule cannot...
Heinrichm_18951
Cirrus
Nov 01, 2017I would probably split the configuration into two irules. If you apply this one on your 443 VS you'll likely experience and endless redirect loop as your first if statement will be hit everytime and give you a redirect leading you to hit it again.
On your 80 VS you can apply the _sys_https_redir On your 443 VS you can use ([HTTP::host] equals "webappsdev") as your if condition
It should not be necessary to explicitly state the forward part.
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