From 2f132439da895a4e43348067233bb18ee9812a6e Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Fri, 12 Mar 2021 23:15:03 +0200
Subject: [PATCH] Revert "Revert "Temporarily disable CSP in Nextcloud.""

This reverts commit cfba896aaebb22c7ffee0c42640f1660a3e45d1f.

Here we go again.
---
 conf.d/nextcloud.shore.co.il.conf | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/conf.d/nextcloud.shore.co.il.conf b/conf.d/nextcloud.shore.co.il.conf
index cb4389c..2ba48e1 100644
--- a/conf.d/nextcloud.shore.co.il.conf
+++ b/conf.d/nextcloud.shore.co.il.conf
@@ -27,5 +27,8 @@ server {
         include                 snippets/proxy-headers.conf;
         proxy_hide_header       X-Frame-Options;
         client_max_body_size    512m;
+        # Temporary measure to test a Collabora Online issue, should not be left
+        # as is.
+        proxy_hide_header       content-security-policy;
     }
 }
-- 
GitLab