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

This reverts commit 2f132439da895a4e43348067233bb18ee9812a6e.

This actually solved the issue (Collabora Online worked!) but this is
not a long-term solution, just a test.
---
 conf.d/nextcloud.shore.co.il.conf | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/conf.d/nextcloud.shore.co.il.conf b/conf.d/nextcloud.shore.co.il.conf
index 2ba48e1..cb4389c 100644
--- a/conf.d/nextcloud.shore.co.il.conf
+++ b/conf.d/nextcloud.shore.co.il.conf
@@ -27,8 +27,5 @@ 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