Skip to content

Commit

Permalink
Adds caching and ssl redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobemerick committed Feb 12, 2016
1 parent e4130fc commit d83b739
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions public/.htaccess
@@ -0,0 +1,13 @@
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault A0

<FilesMatch "\.(css|ico|jpg|js|png)$">
ExpiresDefault A604800
</FilesMatch>
</IfModule>

RewriteEngine on

RewriteCond %{HTTPS} off
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URL} [L,R=301]

0 comments on commit d83b739

Please sign in to comment.