Parcourir la source

apache certificate settings

master
Parent
révision
4e79fc57d1
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. +3
    -3
      templates/apache-vhost.conf.j2

+ 3
- 3
templates/apache-vhost.conf.j2 Voir le fichier

@@ -8,10 +8,10 @@
{% endfor %}

SSLEngine on
SSLCertificateFile "/etc/ssl/certs/nextcloud.cert.pem"
SSLCertificateKeyFile "/etc/ssl/private/nextcloud.key.pem"
SSLCertificateFile "/etc/ssl/certs/{{nextcloud_server_names|first}}.cert.pem"
SSLCertificateKeyFile "/etc/ssl/private/{{nextcloud_server_names|first}}.key.pem"
{% if not certificate_provider == "selfsigned" %}
SSLCertificateChainFile "/etc/ssl/certs/nextcloud.chain.pem"
SSLCertificateChainFile "/etc/ssl/certs/{{nextcloud_server_names|first}}.chain.pem"
{% endif %}
Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains"



Chargement…
Annuler
Enregistrer