Forum Discussion
ShankarA_326137
Jul 23, 2017Nimbostratus
f5 rule needed for proxy_pass and proxy_redirect
Hello Team,
I am new to F5. I need help on F5 rules for my requirement. I was able to accomplish the same using nginx.
I'm specifically looking at irules for location / and location /synch...
Jad_Tabbara__J1
Jul 25, 2017Cirrostratus
Hello Shankar,
I think your rule is almost good but you don't need to check port number and you can add a "string tolower" in order to lower case character for the comparison.
Use the following instead :
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "/synchrony" } {
pool synpool
} else {
pool confpool
}
}
Hope it helps
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