Forum Discussion
Jesse_Reinhart_
Nimbostratus
Sep 08, 2017Pass protocol via header using HTTP profile
Hi!
I'm trying to pass a header identifying what protocol was used to establish a connection from the Big-IP to the back end web server. We have a fairly high number of virts, so ideally we do t...
Stanislas_Piro2
Cumulonimbus
Sep 14, 2017Hi,
You can use this code
when CLIENT_ACCEPTED {
set ssl 0
}
when CLIENTSSL_CLIENTHELLO {
set ssl 1
}
when HTTP_REQUEST {
if {$ssl} {
HTTP::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
