aboutsummaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2019-07-01 18:41:04 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2019-08-11 20:11:50 +0200
commit3f2932c75a44feed4d10183fb7a286ed1b1e8ce4 (patch)
tree8d16b560d9838430941f250d35fbb3f1ed65e57a /.htaccess
parent76cbd7db6e69340cb53b8333f129373f3044bdc3 (diff)
downloadnextcloud-server-3f2932c75a44feed4d10183fb7a286ed1b1e8ce4.tar.gz
nextcloud-server-3f2932c75a44feed4d10183fb7a286ed1b1e8ce4.zip
Sort headers
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess8
1 files changed, 4 insertions, 4 deletions
diff --git a/.htaccess b/.htaccess
index ba9ec86081a..a81b6765267 100644
--- a/.htaccess
+++ b/.htaccess
@@ -11,13 +11,13 @@
<IfModule mod_env.c>
# Add security and privacy related headers
+ Header set Referrer-Policy "no-referrer"
Header set X-Content-Type-Options "nosniff"
- Header set X-XSS-Protection "1; mode=block"
- Header set X-Robots-Tag "none"
Header set X-Download-Options "noopen"
- Header set X-Permitted-Cross-Domain-Policies "none"
- Header set Referrer-Policy "no-referrer"
Header set X-Frame-Options "SAMEORIGIN"
+ Header set X-Permitted-Cross-Domain-Policies "none"
+ Header set X-Robots-Tag "none"
+ Header set X-XSS-Protection "1; mode=block"
SetEnv modHeadersAvailable true
</IfModule>