Forum Discussion
lmalafati_54233
Nimbostratus
Dec 01, 2010SSL Offload and redirect pools
Hi All,
I have the follow scenario and I would like know If there are one way to try to solve this using iRules.
The condition is...one VS that responds on https using ssl off...
nitass
Employee
Dec 02, 2010i did a bit testing. pls feel free to revise.
virtual bar {
snat automap
destination 172.28.17.55:https
ip protocol tcp
rules myrule
profiles
clientssl
http
serverssl
tcp
}
pool poola {
members 10.10.70.110:http
}
pool poolb {
members 10.10.70.120:http
}
pool poolb_https {
members 10.10.70.120:https
}
rule myrule {
when HTTP_REQUEST {
switch -glob [HTTP::uri] {
"/siteA*" {
SSL::disable serverside
pool poola
}
"/siteB*" {
SSL::disable serverside
pool poolb
}
"/siteC*" {
pool poolb_https
}
default {
do something
}
}
}
}
just want to show connection could be established.
curl -Ik https://172.28.17.55/siteA
HTTP/1.1 404 Not Found
Date: Thu, 02 Dec 2010 04:46:55 GMT
Server: Apache/2.0.59 (rPath)
Vary: Accept-Encoding
Content-Type: text/html; charset=iso-8859-1
curl -Ik https://172.28.17.55/siteB
HTTP/1.1 404 Not Found
Date: Thu, 02 Dec 2010 04:46:58 GMT
Server: Apache/2.0.59 (rPath)
Content-Type: text/html; charset=iso-8859-1
curl -Ik https://172.28.17.55/siteC
HTTP/1.1 404 Not Found
Date: Thu, 02 Dec 2010 04:46:59 GMT
Server: Apache/2.0.59 (rPath)
Content-Type: text/html; charset=iso-8859-1
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