How to add the X-Forwarded-Proto header.
How to add the X-Forwarded-Proto header to the client request.
The application that is being load balanced requires the X-Forwarded-Proto header.
How can this be done?
|Steps to Reproduce:|
There are two ways you can go about this depending on what firmware version you are currently running.
The easiest way would be to add this header within the virtual service itself, no rule is needed.
The second option would be to create a content rule to add this header to the request before it is sent to the real server.
Navigate to Rules & Checking and add a new rule.
In the Create Rule screen, make the following selections:
This will then need to be assigned within the virtual service.
Expand the Advanced Properties tab and apply this to the header modification rules.
This will need to be applied as a Response Rule since the header must be added before it reaches the real server.