Forum Discussion
MaximP
Mar 30, 2022Cirrus
It should work like this, without partition reference in pool name
when HTTP_REQUEST {
switch -glob -- [string tolower [HTTP::path]] {
"/dashboard/*" {
## dashboard
if { [active_members dashboard] == 0 }
{
log local0. "Pool dashboard donw"
HTTP::redirect "https://example.com"
}
pool dashboard
persist cookie insert
}
default {
reject
}
}
}