Redirect www. -> . for consistency

This commit is contained in:
Salt 2021-06-18 11:37:29 -05:00
parent 7653af202a
commit 7817ed5e44

View File

@ -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