From 7b04326146be01422ec2706edd35efdbdd748233 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Thu, 11 Mar 2021 19:55:18 -0600 Subject: [PATCH] roles/websites/chmod777: Remove HTTP vhost MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since there are no other plain HTTP virtual hosts, the one defined for chmod777.sh became the "default." Since it explicitly redirects all requests to https://chmod777.sh, it caused all non-HTTPS requests to be redirected there, regardless of the requested name. This was particularly confusing for Tabitha, as she frequently forgets to put https://…, and would find herself at my stupid blog instead of Nextcloud. --- roles/websites/chmod777.sh/files/chmod777.sh.httpd.conf | 7 ------- 1 file changed, 7 deletions(-) diff --git a/roles/websites/chmod777.sh/files/chmod777.sh.httpd.conf b/roles/websites/chmod777.sh/files/chmod777.sh.httpd.conf index b029e4f..84f5dbb 100644 --- a/roles/websites/chmod777.sh/files/chmod777.sh.httpd.conf +++ b/roles/websites/chmod777.sh/files/chmod777.sh.httpd.conf @@ -1,10 +1,3 @@ - -ServerName chmod777.sh -ServerAlias blog.chmod777.sh www.chmod777.sh -RewriteEngine On -RewriteRule (.*) https://chmod777.sh$1 [R=301,L] - - ServerName chmod777.sh ServerAlias blog.chmod777.sh www.chmod777.sh