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
parent
0694594445
commit
1de8e9fa90
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue