Skip to content

Instantly share code, notes, and snippets.

@perezdans
Created September 15, 2017 07:14
Show Gist options
  • Save perezdans/348e4aae1f38c39eac04566525fe1f5f to your computer and use it in GitHub Desktop.
Save perezdans/348e4aae1f38c39eac04566525fe1f5f to your computer and use it in GitHub Desktop.
Forzar https en tu pagina
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment