For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

4 Replies

  • You can use the iRule method HTTP::header. Use it in HTTP_REQUEST event if you want to modify the data sent to server side, otherwise use in HTTP_RESPONSE to send to client side.

    Example:

    when HTTP_REQUEST
    {
         HTTP::header insert X-Forwarded-Port [TCP::local_port]
    }
    
  • Hi, im sorry, we are trying to achieve the following... x-forwarded-port https

     

    • Renato_166638's avatar
      Renato_166638
      Icon for Nimbostratus rankNimbostratus
      You can replace [TCP::local_port] with any information, but I suppose that it expects a number. Aren't you talking about the X-Forwarded-Proto instead?
  • Just create a custom http profile (or modify the existing one) and add "x-forwarded-port:https" to the Request Header Insert parameter.