Forum Discussion
dw_888_212625
Nimbostratus
Nov 06, 2015possible to add request headers in LTM
kindly advise how can we add the below 2
request headers to load balancer
x-forwarded-port
https
Renato
Altostratus
Nov 06, 2015You 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]
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects