b1e8fe6fd0bacec6462b6ffc1edffb4d812a3bf4
[mdref/mdref.m6w6.name] / etc / apache2.conf
1 <Macro mdref_host_defs>
2 ServerName mdref.m6w6m.name
3 ServerAdmin webmaster@m6w6.name
4
5 DocumentRoot /var/www/mdref/mdref/public
6
7 <Directory /var/www/mdref/mdref/public>
8 Options Indexes FollowSymLinks
9 AllowOverride All
10 Require all granted
11 </Directory>
12 </Macro>
13
14 <VirtualHost *:80>
15 Use mdref_host_defs
16 <IfModule ssl_module>
17 Redirect permanent / https://mdref.m6w6.name/
18 </IfModule>
19 </VirtualHost>
20
21 <IfModule ssl_module>
22 <VirtualHost *:443>
23 Use mdref_host_defs
24 Include "bits/hsts"
25 SSLEngine on
26 SSLUseStapling on
27 SSLCertificateKeyFile /etc/letsencrypt/live/m6w6.name/privkey.pem
28 SSLCertificateFile /etc/letsencrypt/live/m6w6.name/fullchain.pem
29 </VirtualHost>
30 </IfModule>
31 # vim: syntax=apache ts=4 sw=4 sts=4 sr noet