Skip to content

Instantly share code, notes, and snippets.

@ntorga
Created October 20, 2015 12:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ntorga/f59f41cab04103732ad0 to your computer and use it in GitHub Desktop.
Save ntorga/f59f41cab04103732ad0 to your computer and use it in GitHub Desktop.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment