General discussion
-
Topic
-
NSX Load Balancer_Application Rule to handle Redirection
Hi Guys,
I need some help to write down Application Rule for NSX Load Balancer to handle packet redirection.
There is an iRule (mentioned below) which we are using and need something similar for NSX Application rule.
Kindly assist.
Current iRule on F5:
when HTTP_RESPONSE {
if { [HTTP::is_redirect] } {
if { [string tolower [URI::host [HTTP::header Location]]] contains “
” and [URI::protocol [HTTP::header Location]] equals “http”} { HTTP::header replace Location [string replace [HTTP::header Location] 0 3 https]
}
}
}Thanks,
JS
All Comments
Viewing 0 reply threads