From d507ae9574ca04585cf4bac96704cfc0994818d6 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Fri, 26 Feb 2021 17:47:25 +0200
Subject: [PATCH] Temporarily disable CSP in Nextcloud.

Trying to figure out and issue with Nextcloud and Collabora Online.
Should be reverted ASAP.
---
 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