Forum Discussion
Fotios_30046
Nimbostratus
Aug 13, 2008SSL Offloading
I've started performing ssl offloading for our most of our applications, but have hit a snag, not with the offload process but with our application, that I can't seem to figure out. Our domain uses a CDN network to serve all images. This CDN requires us to use different url's for depending on http or https. Before the ssl offloading, the code was checking https in the ServerVariables. This is not going to work if the F5 is performing the offloading as this will always be set to false. I was thinking of creating a header variable and setting it to false under the http virtual server and setting it to true under the https virtual server. My dev team can then determine if ssl is used based on this variable. Does anybody think there is a better way?
- hoolio
Cirrostratus
That would be an effective way to differentiate between HTTP and HTTPS at the app layer when using SSL offloading. You can insert a custom header on the HTTP profile I'd suggest clearing the header prior to that with the header to remove option on the HTTP profile. You can check the online help for HTTP profiles for details. - Fotios_30046
Nimbostratus
I created two custom headers, one that sets a variable to off and on, for http and https respecitivey. Since I have a different VS for http and https, I was going to set the profile here and let it fly. - Kirk_Bauer_1018
Nimbostratus
That would work!
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