This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
ka
/
ansible-role-nextcloud
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
HSTS
master
Markus Katharina Brechtel
4 years ago
parent
3ba2dcbb78
commit
17dcbd1c1e
2 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
tasks/apache2.yml
+1
-0
templates/apache-vhost.conf.j2
+ 1
- 0
tasks/apache2.yml
View File
@@ -8,6 +8,7 @@
- ssl
- rewrite
- env
- headers
notify: restart apache2
- name: apache2 nextcloud vhost
+ 1
- 0
templates/apache-vhost.conf.j2
View File
@@ -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}}
Write
Preview
Loading…
Cancel
Save