Compare commits

..

5 Commits

2 changed files with 26 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
MIT License
Copyright (c) 2023 altogether
Copyright (c) 2023 a2g_dockerized
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

View File

@@ -21,12 +21,37 @@
</IfModule>
</IfModule>
<VirtualHost *:80>
DocumentRoot /var/www/html
# ServerName typo3.localhost
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 *:443>
DocumentRoot /var/www/html
# ServerName typo3.localhost
# ServerName localhost
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>