Forum Discussion
jan_de_wachter_
Nimbostratus
Jun 19, 2017How test in a LTM policy if traffic is coming from HTTPS?
How can I test in a LTM policy if traffic is coming from HTTP or HTTPS.
We have a HTTP VS and a HTTPS VS sharing the same policy.
Now we have a new client who only wants HTTPS traffic.
...
pponte
Altostratus
Jun 19, 2017I am not sure to understand your problem. Do you want to redirect all traffic to http to the https Virtual Server? You only should add an iRule on http VS.
when HTTP_REQUEST {
HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]
}
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