Forum Discussion
Sdutt_328171
Nov 01, 2017Nimbostratus
x-forwarded-proto and x-forwarded-ssl passing to the web servers
I am new to F5. I am trying to ensure that x-forwarded-proto and x-forwarded-ssl are passing from f5 to the web servers. How should I create the irule for that?
Sdutt_328171
Nov 01, 2017Nimbostratus
I created this irule for forwarding the x-forwarded-for proto and ssl, will it work?
when HTTP_REQUEST { if {[HTTP::header exists X-Forwarded-For]}{ HTTP::header replace X-Forwarded-For "[HTTP::header X-Forwarded-For], [IP::client_addr]" } else {
HTTP::header insert X-Forwarded-For [IP::client_addr] HTTP::header insert X-Forwarded-Proto "https" HTTP::header insert X-Forwarded-Ssl "on"
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