aboutsummaryrefslogtreecommitdiff
path: root/p/themes/.htaccess
blob: bde718537b8edd822493f6ba176a029aab4169d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<IfModule mod_mime.c>
	AddType application/font-woff .woff

	AddCharset	UTF-8	.css
	AddCharset	UTF-8	.svg
</IfModule>

<IfModule mod_expires.c>
	ExpiresActive	on
	ExpiresByType	application/font-woff	"access plus 1 month"
	ExpiresByType	image/gif	"access plus 1 month"
	ExpiresByType	image/png	"access plus 1 month"
	ExpiresByType	image/svg+xml	"access plus 1 month"
	ExpiresByType	text/css	"access plus 1 month"
</IfModule>

<IfModule mod_headers.c>
	<FilesMatch "\.svg$">
		Header	set Content-Security-Policy "default-src 'self'; style-src 'self' 'unsafe-inline'"
	</FilesMatch>
</IfModule>