.htaccess 592 B

123456789101112131415161718192021
  1. <IfModule mod_mime.c>
  2. AddType application/font-woff .woff
  3. AddCharset UTF-8 .css
  4. AddCharset UTF-8 .svg
  5. </IfModule>
  6. <IfModule mod_expires.c>
  7. ExpiresActive on
  8. ExpiresByType application/font-woff "access plus 1 month"
  9. ExpiresByType image/gif "access plus 1 month"
  10. ExpiresByType image/png "access plus 1 month"
  11. ExpiresByType image/svg+xml "access plus 1 month"
  12. ExpiresByType text/css "access plus 1 month"
  13. </IfModule>
  14. <IfModule mod_headers.c>
  15. <FilesMatch "\.svg$">
  16. Header set Content-Security-Policy "default-src 'self'; style-src 'self' 'unsafe-inline'"
  17. </FilesMatch>
  18. </IfModule>