dani82_22742
Jan 15, 2008Nimbostratus
Redirect HTTP and HTTPS traffic to the same node in different pools
I have two pools with the same servers but with other ports. I need, that a client, which is connected with http ends on the same server, if it change to https. An I would use cookie-persistence and not ip-persistence. How can I do that?
pool my-http {
lb method predictive
members
serverA:http
serverB:http
serverC:http
}
pool my-https {
lb method predictive
members
serverA:81
serverB:81
serverC:81
}
virtual mySite-http {
snat automap
pool my-http
destination w.x.y.z:http
ip protocol tcp
}
virtual mySite-https {
snat automap
pool my-https
destination w.x.y.z:https
ip protocol tcp
}