Jump to content
Toggle menu
  • 51 articles
  • 24 files
  • 4 users
  • 750 edits
Tech-Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Pool-node selection based on URI

From Tech-Wiki


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
 } 
}

See also

Contents