diff --git a/roles/websites/pyrocufflink.net/templates/pyrocufflink.httpd.conf.j2 b/roles/websites/pyrocufflink.net/templates/pyrocufflink.httpd.conf.j2 index 67c9401..a84edd4 100644 --- a/roles/websites/pyrocufflink.net/templates/pyrocufflink.httpd.conf.j2 +++ b/roles/websites/pyrocufflink.net/templates/pyrocufflink.httpd.conf.j2 @@ -1,5 +1,13 @@ # vim: set sw=4 ts=4 sts=4 et : + + ServerName pyrocufflink.net + + RewriteEngine On + RewriteRule ^/$ http://dustin.hatch.name/ [L] + RewriteRule (.*) https://%{SERVER_NAME}$1 [R=301,L] + + ServerName pyrocufflink.net Include conf.d/ssl.include