Browse Source

[Nextcloud] Fix headers

andryyy 6 years ago
parent
commit
49915dd608
1 changed files with 2 additions and 1 deletions
  1. 2 1
      data/assets/nextcloud/nextcloud.conf

+ 2 - 1
data/assets/nextcloud/nextcloud.conf

@@ -24,7 +24,8 @@ server {
   add_header X-Robots-Tag none;
   add_header X-Download-Options noopen;
   add_header X-Permitted-Cross-Domain-Policies none;
-  add_header X-Frame-Options "SAMEORIGIN";
+  #add_header X-Frame-Options "SAMEORIGIN";
+  add_header Referrer-Policy "no-referrer";
 
   server_name NC_SUBD;