Forum Discussion
How to set the IS_SSL header to the value ssl
how can I set Load balancer for IS_SSL header? how can I Configure the load balancer in the configuration to set the IS_SSL header to the value ssl? which needs to tell the webgate that the initial request was https, and that redirects need to be performed in https.?
thx
5 Replies
- KJ_50941
Nimbostratus
Thx, so much for quick respond,
- KJ_50941
Nimbostratus
Hi Kevin
if I want to set IS_SSL header to "ssl" , how can this be done with below irule, I am new to F5 iRule.
thx
modify rule rule_set_is_ssl_hdr { when HTTP_REQUEST { if { [TCP::local_port] == 443 } { HTTP::header insert IS_SSL "1" } else { HTTP::header insert IS_SSL "0" } } }
- Kevin_Stewart
Employee
Try this:
when HTTP_REQUEST { HTTP::header insert IS_SSL "ssl" } - KJ_50941
Nimbostratus
Thx, again.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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