瀏覽代碼

apache certificate settings

master
父節點
當前提交
4e79fc57d1
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. +3
    -3
      templates/apache-vhost.conf.j2

+ 3
- 3
templates/apache-vhost.conf.j2 查看文件

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



Loading…
取消
儲存