Merge pull request 'removed unused lines' (#6) from testing into main

Reviewed-on: #6
This commit is contained in:
rama 2023-12-06 11:14:31 +01:00
commit 3918bddc51

View File

@ -21,37 +21,12 @@
</IfModule> </IfModule>
</IfModule> </IfModule>
<VirtualHost *:80> <VirtualHost *:80>
DocumentRoot /var/www/html DocumentRoot /var/www/html
# ServerName typo3.localhost
UseCanonicalName On UseCanonicalName On
# ServerAlias altogether.at
# RewriteEngine on
# RewriteCond %{HTTP_HOST} ^altogether\.at$ [NC]
# RewriteCond %{HTTP_HOST} !^www\. [NC]
# RewriteRule ^(.*)$ https://www.%1altogether.at%{REQUEST_URI} [R=301,L]
# Header always set Content-Security-Policy "default-src 'self'; font-src *;img-src *; script-src 'none'; style-src 'unsafe-inline' *; connect-src 'self'"
# Header set Content-Security-Policy "default-src 'self' 'unsafe-inline'; img-src * data:; font-src 'self' data:;"
</VirtualHost> </VirtualHost>
<VirtualHost *:443> <VirtualHost *:443>
DocumentRoot /var/www/html DocumentRoot /var/www/html
# ServerName typo3.localhost
# ServerName localhost
UseCanonicalName On UseCanonicalName On
# ServerAlias altogether.at
# SSLEngine on
# SSLOptions +StrictRequire
# SSLCertificateFile /etc/ssl/certs/typo3.localhost.crt
# SSLCertificateKeyFile /etc/ssl/typo3.localhost.key
# SSLCertificateChainFile /etc/ssl/typo3.localhost.csr
# Header always set Content-Security-Policy "default-src 'self'; font-src *;img-src *; script-src 'none'; style-src 'unsafe-inline' *; connect-src 'self'"
# Header set Content-Security-Policy "default-src 'self' 'unsafe-inline'; img-src * data:; font-src 'self' data:;"
</VirtualHost> </VirtualHost>