websites/pyrocufflink.net: Add HTTP virtual host

A name-based HTTP (not HTTPS)  virtual host for *pyrocufflink.net* is
necessary to ensure requests are handled properly, now that there is
another HTTP virtual host (chmod777.sh) defined on the same server.
jenkins-master
Dustin 2020-03-15 17:21:00 -05:00
parent 0694594445
commit 1de8e9fa90
1 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,13 @@
# vim: set sw=4 ts=4 sts=4 et :
<VirtualHost _default_:80>
ServerName pyrocufflink.net
RewriteEngine On
RewriteRule ^/$ http://dustin.hatch.name/ [L]
RewriteRule (.*) https://%{SERVER_NAME}$1 [R=301,L]
</VirtualHost>
<VirtualHost _default_:443>
ServerName pyrocufflink.net
Include conf.d/ssl.include