Commit 8dad9097 authored by Jonathan Blum's avatar Jonathan Blum

fix vhost configuration

parent 59dce007
# Ansible Managed
<VirtualHost *:{% if privatebin_ssl_cert is defined %}443{% else %}80{% endif %}>
ServerName {{ privatebin_url }}
DocumentRoot {{ privatebin_install_path }}
......@@ -8,14 +9,14 @@
{% if privatebin_ssl_cert is defined %}
SSLEngine on
SSLCertificateFile {{ privatebin_ssl_cert }}
{% if privatebin_ssl_chain is defined %}
SSLCertificateChainFile {{ privatebin_ssl_chain }}
{% endif %}
{% if privatebin_ssl_chain is defined %}SSLCertificateChainFile {{ privatebin_ssl_chain }}{% endif %}
SSLCertificateKeyFile {{ privatebin_ssl_key }}
{% endif %}
<Directory {{ privatebin_install_path }}>
AllowOverride All
Require all granted
AllowOverride All
Options FollowSymLinks MultiViews
</Directory>
</VirtualHost>
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