Skip to content

Instantly share code, notes, and snippets.

@iqbalmauludy
Created November 28, 2018 16:45
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 iqbalmauludy/ea00bf34d3b7cf0387f21d83d3117642 to your computer and use it in GitHub Desktop.
Save iqbalmauludy/ea00bf34d3b7cf0387f21d83d3117642 to your computer and use it in GitHub Desktop.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment