Forum Discussion
JoeCaracci
Nimbostratus
Mar 25, 2016HTTP to HTTPS redirect - minimum requirements for HTTP Virtual Server
Hi all, first post here. I'm a few months new to F5, but been around other LB's for years.
I have a virtual server set up and working on HTTPS(lets say 'VS1.1.1.1_HTTPS'). I want to redirect ...
kohli9harjeev
Nimbostratus
Mar 25, 2016Hi Joe,
Its a simple basic scenario of HTTP to HTTPS redirect. You just need to create new VS on port 80 with same VS ip as of HTTPS VS and just assing the F5 inbuilt irule "_sys_https_redirect" or you can create the following irule and assign it to HTTP VS if you are using standard ports
when HTTP_REQUEST { HTTP::redirect https://[getfield [HTTP::host] ":" 1] [HTTP::uri] }
Regards Harjeev
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