Forum Discussion
Kevin_Stewart
Sep 04, 2014Employee
Maybe some additional logging is in order:
when CLIENT_ACCEPTED {
set default_pool [LB::server pool]
log local0. "default pool is $default_pool"
}
when HTTP_REQUEST {
log local0. "incoming uri: [HTTP::uri]"
HTTP::header insert "X-Forwarded-Proto" "https"
if { [string tolower [HTTP::uri]] starts_with "/foo" } {
log local0. "sending to foo pool"
pool pool_foo_https
} elseif { [string tolower [HTTP::uri]] starts_with "/bar" } {
log local0. "sending to bar pool"
pool pool_bar_http
SSL::disable serverside
} else {
log local0. "sending to default pool"
pool $default_pool
SSL::disable serverside
}
}
In this case you may also want to enable OneConnect.