Skip to content

Instantly share code, notes, and snippets.

@CJHarms
Created July 28, 2016 06:20
Show Gist options
  • Select an option

  • Save CJHarms/0d25f2a8d624a6fdb27ff0a9f1b52516 to your computer and use it in GitHub Desktop.

Select an option

Save CJHarms/0d25f2a8d624a6fdb27ff0a9f1b52516 to your computer and use it in GitHub Desktop.
NetScaler Redirect HTTP to HTTPS
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