Ver código fonte

apache certificate settings

master
pai
commit
4e79fc57d1
1 arquivos alterados com 3 adições e 3 exclusões
  1. +3
    -3
      templates/apache-vhost.conf.j2

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

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



Carregando…
Cancelar
Salvar