General discussion

  • Creator
    Topic
  • #3937960

    NSX Load Balancer_Application Rule to handle Redirection

    by jsidd07a ·

    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

You are posting a reply to: NSX Load Balancer_Application Rule to handle Redirection

The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our Community FAQs for details. All submitted content is subject to our Terms of Use.

All Comments

Viewing 0 reply threads