Explorar el Código

apache certificate settings

master
padre
commit
4e79fc57d1
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. +3
    -3
      templates/apache-vhost.conf.j2

+ 3
- 3
templates/apache-vhost.conf.j2 Ver fichero

@@ -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"



Cargando…
Cancelar
Guardar