fix jinja2 vhost template

parent 6f3771a5
......@@ -6,10 +6,12 @@
CustomLog ${APACHE_LOG_DIR}/privatebin-access.log combined
{% if privatebin_ssl_cert is defined %}
SSLEngine on
SSLCertificateFile {{ privatebin_ssl_cert }}
{% if privatebin_ssl_chain is defined %}SSLCertificateChainFile {{ privatebin_ssl_chain }}{% endif %}
SSLCertificateKeyFile {{ privatebin_ssl_key }}
SSLEngine on
SSLCertificateFile {{ privatebin_ssl_cert }}
{% if privatebin_ssl_chain is defined %}
SSLCertificateChainFile {{ privatebin_ssl_chain }}
{% endif %}
SSLCertificateKeyFile {{ privatebin_ssl_key }}
{% endif %}
<Directory {{ privatebin_install_path }}>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment