port over conf file from old server
authoreostre <eostre.danne@protonmail.com>
Mon, 3 Aug 2020 18:00:36 +0000 (14:00 -0400)
committereostre <eostre.danne@protonmail.com>
Mon, 3 Aug 2020 18:00:36 +0000 (14:00 -0400)
dbd-autobuild/conf/dbd.conf [new file with mode: 0644]

diff --git a/dbd-autobuild/conf/dbd.conf b/dbd-autobuild/conf/dbd.conf
new file mode 100644 (file)
index 0000000..55e337f
--- /dev/null
@@ -0,0 +1,33 @@
+<VirtualHost *:80>
+       ServerName www0.defectivebydesign.org
+       ServerAlias www.defectivebydesign.org
+       ServerAlias defectivebydesign.com
+       ServerAlias defectivebydesign.net
+       ServerAlias www.defectivebydesign.com
+       ServerAlias www.defectivebydesign.net
+       ServerAlias dbd.fsf.org
+       ServerAlias defectivebydesign.org
+       ServerAdmin webmaster@fsf.org
+       ### redirect to same domain name, but HTTPS. required for HSTS  
+       RewriteEngine On
+       RewriteCond %{HTTPS} !=on
+       RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
+</VirtualHost>
+
+<VirtualHost *:443>
+       ServerName www0.defectivebydesign.org
+       ServerAlias defectivebydesign.com
+       ServerAlias defectivebydesign.net
+       ServerAlias www.defectivebydesign.com
+       ServerAlias www.defectivebydesign.net
+       ServerAlias dbd.fsf.org
+       ServerAlias defectivebydesign.org
+       ServerAdmin webmaster@fsf.org
+       RedirectMatch permanent (.*) https://www.defectivebydesign.org$1
+</VirtualHost>
+
+<VirtualHost *:443>
+       ServerName www.defectivebydesign.org
+       ServerAdmin webmaster@fsf.org
+</VirtualHost>
+