förälder
incheckning
17dcbd1c1e
2 ändrade filer med 2 tillägg och 0 borttagningar
  1. +1
    -0
      tasks/apache2.yml
  2. +1
    -0
      templates/apache-vhost.conf.j2

+ 1
- 0
tasks/apache2.yml Visa fil

@@ -8,6 +8,7 @@
- ssl
- rewrite
- env
- headers
notify: restart apache2

- name: apache2 nextcloud vhost


+ 1
- 0
templates/apache-vhost.conf.j2 Visa fil

@@ -13,6 +13,7 @@
{% if not certificate_provider == "selfsigned" %}
SSLCertificateChainFile "/etc/ssl/certs/nextcloud.chain.pem"
{% endif %}
Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains"

DocumentRoot {{nextcloud_directory}}



Laddar…
Avbryt
Spara