Forum Discussion
TWSS_18275
Nimbostratus
Apr 22, 2008SSL / Non-SSL Same VIP
I would like to have one VIP that can handle both secure and non-secure traffic. I have found and implemented the rule at: http://devcentral.f5.com/wiki/default.aspx/iRules/HttpHttpsSingleVirtualServ...
TWSS_18275
Nimbostratus
Apr 22, 2008Yes, here's the vip:
virtual vip_2xx.xxx.xxx.xxx_http_s {
destination 2xx.xxx.xxx.xxx:any
ip protocol tcp
profile http secure.sitename.com tcp
persist cookie
pool pool_route_testing_http
rule combine_http_https
combine_http_https_header
}
and here's the log entries:
Apr 22 12:36:44 tmm tmm[929]: Rule combine_http_https : ---------------------------- Start ----------------------------
Apr 22 12:36:44 tmm tmm[929]: Rule combine_http_https : Pool Selected: pool_route_testing_https
Apr 22 12:36:44 tmm tmm[929]: Rule combine_http_https : Http Pool: pool_route_testing_http
Apr 22 12:36:44 tmm tmm[929]: Rule combine_http_https : HTTPS request from x.x.x.x to x.x.x.x:443
Apr 22 12:39:39 tmm tmm[929]: Rule combine_http_https : ---------------------------- Start ----------------------------
Apr 22 12:39:39 tmm tmm[929]: Rule combine_http_https : Pool Selected: pool_route_testing_https
Apr 22 12:39:39 tmm tmm[929]: Rule combine_http_https : Http Pool: pool_route_testing_http
Apr 22 12:39:39 tmm tmm[929]: Rule combine_http_https : HTTP request from x.x.x.x to x.x.x.x:80
Apr 22 12:39:39 tmm tmm[929]: Rule combine_http_https : Client SSL profile enabled on VIP. Disabling SSL
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