Created
July 28, 2016 06:20
-
-
Save CJHarms/0d25f2a8d624a6fdb27ff0a9f1b52516 to your computer and use it in GitHub Desktop.
NetScaler Redirect HTTP to HTTPS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add responder action resp_act_HTTPS_Redirect redirect "\"https://\" + HTTP.REQ.HOSTNAME.HTTP_URL_SAFE" -responseStatusCode 302 | |
| add responder policy resp_pol_HTTPS_Redirect "HTTP.REQ.URL.PATH.EQ(\"/\")" resp_act_HTTPS_Redirect |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment