Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/ncp.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ncp.sh')
-rw-r--r--ncp.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/ncp.sh b/ncp.sh
index 4e532c9e..2c57fb8f 100644
--- a/ncp.sh
+++ b/ncp.sh
@@ -73,6 +73,9 @@ Listen 4443
SSLEngine on
SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
+ <IfModule mod_headers.c>
+ Header always set Strict-Transport-Security "max-age=15768000; includeSubDomains"
+ </IfModule>
# 2 days to avoid very big backups requests to timeout
TimeOut 172800