Forum Discussion
dw_888_212625
Nimbostratus
Sep 29, 2015Does implementing X-Forwarded-For irule requires downtime?
Does implementing X-Forwarded-For irule requires downtime?
Brad_Parker
Cirrus
Oct 01, 2015Well you can do it with the http profile option with the policy I mentioned above(will perform better as they are built in features) or you can do it with a single iRule that will insert both.
when HTTP_REQUEST {
HTTP::header insert "X-Forwarded-For" [IP::client_addr]
if {[PROFILE::exists clientssl] == 1}{
HTTP::header insert "X-Forwarded-Proto" "https"
}
}
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