Forum Discussion
Kunal18oct1
Nimbostratus
May 04, 2020Need an IRULE for HTTP and HTTPS listener on same server
I am trying to create a one Virtual server which can listen on http and https , on http it needs to redirect the request to https. On https VS I want to do ssl bridging, I believe I need an iru...
jaikumar_f5
Noctilucent
May 05, 2020You can simply use the default http2https irule,
create ltm virtual APP-80-SETUP destination 1.1.1.1:80 profiles replace-all-with { http } rules { http2https }
create ltm virtual APP-443-SETUP destination 1.1.1.1:443 mask 255.255.255.255 ip-protocol tcp profiles add { clientssl serverssl http-xff } pool APP-443-POOL profiles add { tcp-wan-optimized { context clientside } tcp-lan-optimized { context serverside } }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
