|
|
@@ -0,0 +1,26 @@ |
|
|
|
{{ ansible_managed | comment }} |
|
|
|
|
|
|
|
<VirtualHost *:443> |
|
|
|
|
|
|
|
ServerName {{kanboard_server_name}} |
|
|
|
|
|
|
|
SSLEngine on |
|
|
|
SSLCertificateFile "/etc/ssl/certs/kanboard.cert.pem" |
|
|
|
SSLCertificateKeyFile "/etc/ssl/private/kanboard.key.pem" |
|
|
|
{% if not certificate_provider == "selfsigned" %} |
|
|
|
SSLCertificateChainFile "/etc/ssl/certs/kanboard.chain.pem" |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
DocumentRoot /var/www/kanboard |
|
|
|
|
|
|
|
<Directory /var/www/kanboard/> |
|
|
|
|
|
|
|
Options +FollowSymlinks |
|
|
|
AllowOverride All |
|
|
|
|
|
|
|
</Directory> |
|
|
|
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/error.log |
|
|
|
CustomLog ${APACHE_LOG_DIR}/access.log combined |
|
|
|
|
|
|
|
</VirtualHost> |