Forum Discussion
Samir
Oct 12, 2023MVP
Not tested but something can be written like this
when CLIENT_ACCEPTED {
set url [string tolower [HTTP::host]]
}
when HTTP_REQUEST {
if { [$url eq "labred.local.ae"] && [HTTP2::active] } {
pool Lab-red-pool }
elseif { [$url eq "labblue.local.ae"] } {
pool Lab-blue-pool }
}
}