25 lines
576 B
Text
25 lines
576 B
Text
|
NameVirtualHost *:80
|
||
|
|
||
|
<VirtualHost *:80>
|
||
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||
|
|
||
|
ServerName {{ item.domain }}
|
||
|
|
||
|
Redirect permanent / https://wiki.crypto-libertarian.com
|
||
|
</VirtualHost>
|
||
|
|
||
|
<VirtualHost _default_:443>
|
||
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||
|
|
||
|
ServerName {{ item.domain }}
|
||
|
|
||
|
DocumentRoot {{ item.root }}
|
||
|
|
||
|
SSLEngine on
|
||
|
SSLCertificateFile {{ item.cert }}
|
||
|
SSLCertificateKeyFile {{ item.key }}
|
||
|
SSLCertificateChainFile {{ item.chain }}
|
||
|
</VirtualHost>
|