25 lines
561 B
Django/Jinja
25 lines
561 B
Django/Jinja
# vim: set ft=apache :
|
|
MDomain darkchestofwonders.us
|
|
|
|
<VirtualHost _default_:80>
|
|
ServerName darkchestofwonders.us
|
|
|
|
RewriteEngine On
|
|
RewriteRule (.*) https://%{SERVER_NAME}$1 [R=301,L]
|
|
</VirtualHost>
|
|
|
|
<VirtualHost _default_:443>
|
|
ServerName darkchestofwonders.us
|
|
|
|
Include conf.d/ssl.include
|
|
|
|
<IfModule mod_headers.c>
|
|
Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains"
|
|
</IfModule>
|
|
|
|
DocumentRoot /srv/www/darkchestofwonders.us/htdocs
|
|
<Directory /srv/www/darkchestofwonders.us/htdocs>
|
|
Require all granted
|
|
</Directory>
|
|
</VirtualHost>
|