Forum Discussion
Allan_ivari_304
Nimbostratus
Nov 02, 2018use irule to force SSL profile based on URL
i am new to F5, and this question maybe very basic. thanks in advance for whoever is helping. 🙂
my situation is: we have 2 web server using same VIP base on different URL, i am pointing them different pool. since they also use different SSL profile (both client side and server side) i want to use irule to assign them different SSL profile base on URL
not sure if is it do able, if so, how?
below is what i have so far:
when HTTP_REQUEST {
switch [string tolower [HTTP::host]] {
"a.webone.com" {
pool a.webone.com
}
"b.webtwo.com" {
pool b.webtwo.com
}
default {
log local0. "Unknown host to switch: [HTTP::host]"
}
}
}
5 Replies
No RepliesBe the first to reply
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