Skip to content

Instantly share code, notes, and snippets.

@compleatang
Created April 9, 2014 21:06
Show Gist options
  • Select an option

  • Save compleatang/10315963 to your computer and use it in GitHub Desktop.

Select an option

Save compleatang/10315963 to your computer and use it in GitHub Desktop.
Gandi PAAS SSL Redirect
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment