47 lines
1.3 KiB
Text
47 lines
1.3 KiB
Text
|
<VirtualHost *:80>
|
||
|
|
||
|
ServerName hydrogen.example.com
|
||
|
|
||
|
DocumentRoot /usr/share/matrix-hydrogen/html
|
||
|
|
||
|
<Directory /usr/share/matrix-hydrogen/html>
|
||
|
Require all granted
|
||
|
AllowOverride All
|
||
|
Options FollowSymLinks MultiViews
|
||
|
</Directory>
|
||
|
|
||
|
<Directory /etc/matrix-hydrogen>
|
||
|
Require all granted
|
||
|
AllowOverride All
|
||
|
Options FollowSymLinks MultiViews
|
||
|
</Directory>
|
||
|
|
||
|
<Location /index.html>
|
||
|
Header unset ETag
|
||
|
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
|
||
|
Header set Pragma "no-cache"
|
||
|
Header set Expires "Thu, 01 Jan 1970 00:00:00 GMT"
|
||
|
</Location>
|
||
|
|
||
|
<Location /sw.js>
|
||
|
Header unset ETag
|
||
|
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
|
||
|
Header set Pragma "no-cache"
|
||
|
Header set Expires "Thu, 01 Jan 1970 00:00:00 GMT"
|
||
|
</Location>
|
||
|
|
||
|
<Location /config.json>
|
||
|
Header unset ETag
|
||
|
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
|
||
|
Header set Pragma "no-cache"
|
||
|
Header set Expires "Thu, 01 Jan 1970 00:00:00 GMT"
|
||
|
</Location>
|
||
|
|
||
|
<Location /assets/theme-element.json>
|
||
|
Header unset ETag
|
||
|
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
|
||
|
Header set Pragma "no-cache"
|
||
|
Header set Expires "Thu, 01 Jan 1970 00:00:00 GMT"
|
||
|
</Location>
|
||
|
|
||
|
</VirtualHost>
|