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

sundogbrew's avatar
sundogbrew
Icon for Altocumulus rankAltocumulus
Sep 13, 2019

X-forwarded-proto & WL-proxy Irule or profile?

Quick question,

I have a vendor that is saying I need to use both X-forwarded-proto and WL-proxy true. I am wondering if I can just use a new http profile and do

erase request header "X-Forwarded-Proto" and request header insert "X-Forwarded-Proto: https WL-proxy-SSL:true"

Or do I need to use an irule for one and a profile for the other? Or an irule for both?

Thanks

Joe

2 Replies

  • Hi sundogbrew,

     

    Request Header Erase

    Type the name of a header, in an HTTP request, from which the system removes from request. Only one header can be removed per pool. For multiple header removals, you can use LTM Policies or iRules (HTTP::header remove, HTTP::header sanitize).

     

    Request Header Insert

    Type a string that the system inserts as a header in an HTTP request. If the header exists already, the system does not replace it. For multiple header insertions, both LTM Policies and iRules support inserting multiple headers into a request.

     

     

     

  • Thank you EAA, that was what I thought. The requirements seem to be changing so not sure where this will end.

    Thank you for your help!

    Joe