website: Deploy Tabitha's website
Tabihta's website is a very simple, static HTML site. It uploaded via SFTP and served at *tabitha.biz*.
This commit is contained in:
27
roles/websites/tabitha/files/tabitha.httpd.conf
Normal file
27
roles/websites/tabitha/files/tabitha.httpd.conf
Normal file
@@ -0,0 +1,27 @@
|
||||
<VirtualHost _default_:80>
|
||||
ServerName tabitha.biz
|
||||
ServerAlias www.tabitha.biz
|
||||
|
||||
RewriteEngine On
|
||||
RewriteRule (.*) https://%{SERVER_NAME}$1 [R=301,L]
|
||||
</VirtualHost>
|
||||
|
||||
<VirtualHost _default_:443>
|
||||
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
|
||||
|
||||
<IfModule mod_headers.c>
|
||||
Header always set \
|
||||
Strict-Transport-Security "max-age=63072000; includeSubDomains"
|
||||
</IfModule>
|
||||
|
||||
|
||||
DocumentRoot /srv/www/tabitha/htdocs
|
||||
<Directory /srv/www/tabitha/htdocs>
|
||||
Require all granted
|
||||
</Directory>
|
||||
</VirtualHost>
|
||||
Reference in New Issue
Block a user