Forum Discussion
Robert_47833
Altostratus
Jul 15, 2013enable ssl serverside for specific uri
I don't want to enable ssl profile of server side in virtual server
but I want to enable ssl server side for some url ,such as /xyz
how to achieve this?
Robert_47833
Altostratus
Jul 31, 2013this is the vip config
virtual srwd33-www {
mirror enable
snat automap
destination 10.10.10.10:http
ip protocol tcp
rules test-irule
profiles {
http {}
oneconnect {}
serverssl {
serverside
}
tcp-lan-optimized {
serverside
}
tcp-wan-optimized {
clientside
}
}
}
irule test-irule before "it has intermittent issue which goes to fallback host if I want to hit default-pool
when CLIENT_ACCEPTED {
SSL::disable serverside
}
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/test1" } {
SSL::enable serverside
pool xyz
return
}
else {
pool default-pool
}
test-irule after:it is fine
when SERVER_CONNECTED priority 10 {
if { [LB::server pool] eq "xyz" }{
SSL::enable serverside
}
else {
SSL::disable serverside
}
}
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/test1" } {
pool xyz
return
}
else {
pool default-pool
}
I want to know the root cause and which way is recommended
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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