Forum Discussion
KDS2014
Nimbostratus
Nov 16, 2015http 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...
Brad_Parker
Cirrus
Nov 16, 2015I 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
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