forked from meganz/webclient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
20 lines (18 loc) · 811 Bytes
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . /
<IfModule mod_headers.c>
#Header set Access-Control-Allow-Origin "*"
#Header set Access-Control-Allow-Headers "uloffset, ulkey"
#Header set Content-Security-Policy "default-src 'self' *.mega.co.nz https://*.mega.co.nz; script-src 'self' mega.co.nz data: blob:; style-src 'self' 'unsafe-inline' *.mega.co.nz data: blob:; frame-src 'self' mega:; img-src 'self' *.mega.co.nz data: blob:"
</IfModule>
<filesMatch "\.(html|js|css|png|jpg|svg)$">
FileETag None
<ifModule mod_headers.c>
Header unset ETag
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
</ifModule>
</filesMatch>