Skip to content

Instantly share code, notes, and snippets.

@mark-d-holmberg
Created October 14, 2015 14:46
Show Gist options
  • Save mark-d-holmberg/4c9ce577e191928effba to your computer and use it in GitHub Desktop.
Save mark-d-holmberg/4c9ce577e191928effba to your computer and use it in GitHub Desktop.
Apache Force SSL
# Force SSL
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment