roles/websites/chmod777: Remove HTTP vhost
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.jenkins-master
parent
90421e77d2
commit
7b04326146
|
@ -1,10 +1,3 @@
|
||||||
<VirtualHost _default_:80>
|
|
||||||
ServerName chmod777.sh
|
|
||||||
ServerAlias blog.chmod777.sh www.chmod777.sh
|
|
||||||
RewriteEngine On
|
|
||||||
RewriteRule (.*) https://chmod777.sh$1 [R=301,L]
|
|
||||||
</VirtualHost>
|
|
||||||
|
|
||||||
<VirtualHost _default_:443>
|
<VirtualHost _default_:443>
|
||||||
ServerName chmod777.sh
|
ServerName chmod777.sh
|
||||||
ServerAlias blog.chmod777.sh www.chmod777.sh
|
ServerAlias blog.chmod777.sh www.chmod777.sh
|
||||||
|
|
Loading…
Reference in New Issue