Created
May 27, 2014 18:30
-
-
Save CaptainYarb/47b25db974b3233a6f90 to your computer and use it in GitHub Desktop.
Redirect to HTTPS for non static content
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine On | |
RewriteCond %{HTTPS} off | |
RewriteCond %{REQUEST_FILENAME} \.(gif|jpe?g|png|js|css|swf|ico|txt|pdf|xml)$ [OR] | |
RewriteRule ^(.*)$ https://getnodecraft.net/$1 [L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment