Forum Discussion
HTTP to HTTPS reidrect
VIP:-vip_idp_ilmarinen_net Port:-443
redirect type 301 to https://idp.ilmarinen.net/
if user types http in browser it should be redirected to https so i need to fulfill this request. Please suggest.
3 Replies
- mo_99289Historic F5 Account
Maybe those 2 SOLs could help, one use profile, another one implement it using irule.
https://support.f5.com/kb/en-us/solutions/public/14000/900/sol14996.html?sr=51160887
https://support.f5.com/kb/en-us/solutions/public/15000/000/sol15030.html
- Domai
Altostratus
There is an inbuild iRule that you can use to accomplish this. iRule - _sys_https_redirect
========================================================================================== create virtual vip_idp_ilmarinen_net_80 destination 1.1.1.1:80 mask 255.255.255.255
modify virtual vip_idp_ilmarinen_net_80
ip-protocol tcp
profiles replace-all-with { /Common/http }
rules { /Common/_sys_https_redirect }
exit
exit ==========================================================================================
- Domai
Altostratus
The default HTTP profile that is already on the LTM can be used. 11.4 version has a default HTTP profile. You really don't have to create one.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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