websites/tabitha: Redirect to HLC, use mod_md cert
Tabitha has effectively decommissioned her _tabitha.biz_ website. She wants it to redirect to the Hatch Learning Center site instead.unifi-restore
parent
48f47b8905
commit
7034d5fec0
|
@ -1 +0,0 @@
|
||||||
../lego/tabitha.biz.crt
|
|
|
@ -1 +0,0 @@
|
||||||
../lego/tabitha.biz.key
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
MDomain tabitha.biz
|
||||||
|
|
||||||
<VirtualHost _default_:80>
|
<VirtualHost _default_:80>
|
||||||
ServerName tabitha.biz
|
ServerName tabitha.biz
|
||||||
ServerAlias www.tabitha.biz
|
ServerAlias www.tabitha.biz
|
||||||
|
@ -11,17 +13,12 @@ ServerName tabitha.biz
|
||||||
ServerAlias www.tabitha.biz
|
ServerAlias www.tabitha.biz
|
||||||
|
|
||||||
Include conf.d/ssl.include
|
Include conf.d/ssl.include
|
||||||
SSLCertificateKeyFile /etc/pki/tls/private/tabitha.biz.key
|
|
||||||
SSLCertificateFile /etc/pki/tls/certs/tabitha.biz.cer
|
|
||||||
|
|
||||||
<IfModule mod_headers.c>
|
<IfModule mod_headers.c>
|
||||||
Header always set \
|
Header always set \
|
||||||
Strict-Transport-Security "max-age=63072000; includeSubDomains"
|
Strict-Transport-Security "max-age=63072000; includeSubDomains"
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
|
RewriteEngine On
|
||||||
DocumentRoot /srv/www/tabitha/htdocs
|
RewriteRule .* https://hatchlearningcenter.org/ [R,L]
|
||||||
<Directory /srv/www/tabitha/htdocs>
|
|
||||||
Require all granted
|
|
||||||
</Directory>
|
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
dependencies:
|
|
||||||
- role: cert
|
|
||||||
vars:
|
|
||||||
cert_src: websites/tabitha.biz.cer
|
|
||||||
cert_dest: /etc/pki/tls/certs/tabitha.biz.cer
|
|
||||||
cert_key_src: websites/tabitha.biz.key
|
|
||||||
cert_key_dest: /etc/pki/tls/private/tabitha.biz.key
|
|
||||||
tags:
|
|
||||||
- websites/darkchestofwonders.us
|
|
Loading…
Reference in New Issue