|
@@ -9,8 +9,10 @@ |
|
|
|
|
|
|
|
|
SSLEngine on |
|
|
SSLEngine on |
|
|
SSLCertificateFile "/etc/ssl/certs/nextcloud.cert.pem" |
|
|
SSLCertificateFile "/etc/ssl/certs/nextcloud.cert.pem" |
|
|
SSLCertificateChainFile "/etc/ssl/certs/nextcloud.chain.pem" |
|
|
|
|
|
SSLCertificateKeyFile "/etc/ssl/private/nextcloud.key.pem" |
|
|
SSLCertificateKeyFile "/etc/ssl/private/nextcloud.key.pem" |
|
|
|
|
|
{% if not certificate_provider == "selfsigned" %} |
|
|
|
|
|
SSLCertificateChainFile "/etc/ssl/certs/nextcloud.chain.pem" |
|
|
|
|
|
{% endif %} |
|
|
{% if certificate_provider == "letsencrypt" %} |
|
|
{% if certificate_provider == "letsencrypt" %} |
|
|
Include /etc/letsencrypt/options-ssl-apache.conf |
|
|
Include /etc/letsencrypt/options-ssl-apache.conf |
|
|
{% endif %} |
|
|
{% endif %} |
|
|