ServerName element.example.com DocumentRoot /usr/share/matrix-element-web/html Require all granted AllowOverride All Options FollowSymLinks MultiViews Require all granted AllowOverride All Options FollowSymLinks MultiViews 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'"