Forum Discussion
A virtual server which caters to both HTTPS and plain TCP traffic on the same port.
you could try something like in this link:
https://devcentral.f5.com/articles/handling-http-requests-on-an-https-virtual-server-31668
Now HTTPs using the default pool and setting something like this for http :
when CLIENT_ACCEPTED { set https_state 0 }
when CLIENTSSL_HANDSHAKE { set https_state 1 }
when HTTP_REQUEST { if { [$https_state eq 0] } { pool xxxx } }
- MuthannaMP_3382Apr 26, 2019
Nimbostratus
Thanks Sergio, but we have tried this and it does not work. Because here we are dealing with a plain TCP and HTTPS traffic whereas this article explains how to deal with HTTP and HTTPS traffic.
So the condition 'when HTTP_REQUEST' cannot be applied on plain TCP traffic.
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