Pool-node selection based on URI
From Tech-Wiki
More actions
Technical reference for Pool-node selection based on URI.
when HTTP_REQUEST {
if { [string tolower [HTTP::uri] ] starts_with "/operational" } {
pool node1
# node 10.x.x.1 8080
}
if { [string tolower [HTTP::uri] ] starts_with "/admin" } {
pool node2
# node 10.x.x.2 8888
}
}