From 7817ed5e44ad5cd1a6a971a1e58abe59a57d18b3 Mon Sep 17 00:00:00 2001 From: Salt Date: Fri, 18 Jun 2021 11:37:29 -0500 Subject: [PATCH] Redirect www. -> . for consistency --- playbooks/vars/desultd-apache.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/playbooks/vars/desultd-apache.yml b/playbooks/vars/desultd-apache.yml index 407f933..69ca20f 100644 --- a/playbooks/vars/desultd-apache.yml +++ b/playbooks/vars/desultd-apache.yml @@ -17,6 +17,9 @@ apache_vhosts: extra_parameters: | Redirect permanent / https://nc.desu.ltd/ # 9iron.club + - servername: www.9iron.club + extra_parameters: | + Redirect permanent / https://9iron.club/ - servername: srv.9iron.club extra_parameters: | Redirect permanent / https://srv.9iron.club/ @@ -46,6 +49,12 @@ apache_vhosts_ssl: certificate_key_file: /etc/letsencrypt/live/srv.9iron.club/privkey.pem certificate_chain_file: /etc/letsencrypt/live/srv.9iron.club/chain.pem # 9iron.club + - servername: www.9iron.club + extra_parameters: | + Redirect permanent / https://9iron.club/ + certificate_file: /etc/letsencrypt/live/srv.9iron.club/fullchain.pem + certificate_key_file: /etc/letsencrypt/live/srv.9iron.club/privkey.pem + certificate_chain_file: /etc/letsencrypt/live/srv.9iron.club/chain.pem - servername: 9iron.club extra_parameters: | ProxyPreserveHost On