Forum Discussion
http to https redirect
Is there a particular reason for the different redirect offerings………should one be used instead of another for a particular issue?
1)iRule to do the redirect.
2)custom HTTP Profile to do the redirect.
3)Local Traffic Policy to do the redirect.
2 Replies
- Matt_Dierick
Employee
No differences mate :)
iRule and CPM (Local Traffic Policy) allow you to "tune" your redirect based on conditions.
Take care.
- Brad_Parker
Cirrus
I would always use a custom iRule. The built in iRule and traffic policies like to stick in a Server header that has a value of BigIP. Security doesn't like leaking more info than we have to. The noserver flag prevents that from happening.
when HTTP_REQUEST { HTTP::respond 301 noserver Location "https://[HTTP::host][HTTP::uri]" Connection close }
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