Forum Discussion
Gurdeep_Singh_8
Jul 13, 2011Nimbostratus
port 80 and 443 on sigle Virtual server
Hi,
I am new to F5 and Creating Virtual servers for multiple websites. My query is I want to run port 80 and 443 on sigle Virtual server, Is it possible?.
Gurdeep Singh
hooleylist
Jul 13, 2011Cirrostratus
Hi Gurdeep,
This is possible, but it's generally not recommended to try to support multiple protocols on the same virtual server. It gets complicated trying to dynamically change the LTM behavior based on whether the client is using SSL or not. It's much simpler to create a separate virtual server for HTTP and HTTPS.
That said, here's a 9.x iRule example which supports decryption of the SSL traffic on port 443 and HTTP traffic on other defined ports. If you want to use it for v10 or higher, it would be ideal to update it to use static variables instead of global variables.
http://devcentral.f5.com/wiki/default.aspx/iRules/HttpHttpsSingleVirtualServer.html
Aaron
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