traefik_typo3/apache-conf/sites-enabled/typo3.localhost.conf
2023-12-06 11:10:46 +01:00

32 lines
758 B
Plaintext

<Directory /var/www/html>
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
<IfModule mod_mime.c>
RemoveType .html .htm
<FilesMatch ".+\.html?$">
AddType text/html .html
AddType text/html .htm
</FilesMatch>
RemoveType .svg .svgz
<FilesMatch ".+\.svgz?$">
AddType image/svg+xml .svg
AddType image/svg+xml .svgz
</FilesMatch>
<IfModule mod_headers.c>
#Header set Content-Security-Policy "default-src 'self' 'unsafe-inline'; img-src * data:; font-src 'self' data:;"
</IfModule>
</IfModule>
<VirtualHost *:80>
DocumentRoot /var/www/html
UseCanonicalName On
</VirtualHost>
<VirtualHost *:443>
DocumentRoot /var/www/html
UseCanonicalName On
</VirtualHost>