Forum Discussion
Stanislas_Piro2
Sep 26, 2017Cumulonimbus
Hi,
you can use glog option in switch command allowing wildcard:
when HTTP_REQUEST {
switch -glob -- [HTTP::host] {
"smpdev.elcom.com" { pool smpdev-pool }
"smpqa.elcom.com" { pool smpqa-pool }
"smptest.elcom.com" { pool smptest-pool }
"*.publisher.edelivery.tech.ec.europa.eu" { pool smptest-pool }
default { reject }
}
}