when HTTP_RESPONSE {
if {[HTTP::is_redirect]}{
HTTP::header replace Location [string map {:port/ /} [HTTP::header value Location]]
HTTP::header replace Location [string map {:port/ /} [HTTP::header value Location]]
}
}
when HTTP_REQUEST {
if {[HTTP::uri] starts_with "/上下文" } {
pool 池名称
}
set http_header [HTTP::header X-Forwarded-For]
log local0. "$http_header"
}
F5 往header加入客户端的ip
猜你喜欢
转载自hugoren.iteye.com/blog/2215435
今日推荐
周排行