Forum Discussion
parvez_70211
Nimbostratus
May 28, 2016redirect https request based on hostname
Team,
I'm new to Irules. Need your suggestion on the below request
I have an existing VIP (https://www.abc.com 10.10.10.10:443) which has a pool member (1.1.1.1:443) and ssl is offloaded on...
Yann_Desmarest_
Nacreous
May 28, 2016Hi,
Regarding Odaah irule, you can improve a bit the irule :
when CLIENT_ACCEPTED {
set DEFAULT_POOL [LB::server pool]
}
when HTTP_REQUEST {
switch [HTTP::host] {
"www.abc.com" {
pool POOL_ABC
}
"www.xyz.com" {
pool POOL_XYZ
}
default {
pool $DEFAULT_POOL
}
}
}
parvez_70211
Nimbostratus
May 29, 2016I know single cert with SAN will help my case but will it work with 2 different certs? Yann, can I write an Irule similar to the one you provided above with the help of data objects??
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