ソースを参照

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"



読み込み中…
キャンセル
保存