package-pipelines-miscellan.../matrix-element-web/matrix-element-web.site.conf

25 lines
648 B
Text
Raw Normal View History

2023-12-05 23:40:22 +01:00
<VirtualHost *:80>
ServerName element.example.com
DocumentRoot /usr/share/matrix-element-web/html
<Directory /usr/share/matrix-element-web/html>
Require all granted
AllowOverride All
Options FollowSymLinks MultiViews
</Directory>
<Directory /etc/matrix-element-web>
Require all granted
AllowOverride All
Options FollowSymLinks MultiViews
</Directory>
Header set X-Frame-Options SAMEORIGIN
Header set X-Content-Type-Options nosniff
Header set X-XSS-Protection "1; mode=block"
Header set Content-Security-Policy "frame-ancestors 'self'"
</VirtualHost>