diff --git a/certs/websites/tabitha.biz.cer b/certs/websites/tabitha.biz.cer deleted file mode 120000 index c098a8f..0000000 --- a/certs/websites/tabitha.biz.cer +++ /dev/null @@ -1 +0,0 @@ -../lego/tabitha.biz.crt \ No newline at end of file diff --git a/certs/websites/tabitha.biz.key b/certs/websites/tabitha.biz.key deleted file mode 120000 index 449ab30..0000000 --- a/certs/websites/tabitha.biz.key +++ /dev/null @@ -1 +0,0 @@ -../lego/tabitha.biz.key \ No newline at end of file diff --git a/roles/websites/tabitha/files/tabitha.httpd.conf b/roles/websites/tabitha/files/tabitha.httpd.conf index 4334017..9bc1528 100644 --- a/roles/websites/tabitha/files/tabitha.httpd.conf +++ b/roles/websites/tabitha/files/tabitha.httpd.conf @@ -1,3 +1,5 @@ +MDomain tabitha.biz + ServerName tabitha.biz ServerAlias www.tabitha.biz @@ -11,17 +13,12 @@ ServerName tabitha.biz ServerAlias www.tabitha.biz Include conf.d/ssl.include -SSLCertificateKeyFile /etc/pki/tls/private/tabitha.biz.key -SSLCertificateFile /etc/pki/tls/certs/tabitha.biz.cer Header always set \ Strict-Transport-Security "max-age=63072000; includeSubDomains" - -DocumentRoot /srv/www/tabitha/htdocs - - Require all granted - +RewriteEngine On +RewriteRule .* https://hatchlearningcenter.org/ [R,L] diff --git a/roles/websites/tabitha/meta/main.yml b/roles/websites/tabitha/meta/main.yml deleted file mode 100644 index e8b8aa7..0000000 --- a/roles/websites/tabitha/meta/main.yml +++ /dev/null @@ -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