Commit 6b12c007 authored by nimrod's avatar nimrod
Browse files

Another Nextcloud and Collabora Online workaround.

This time it's mixed content.
parent 765e489c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -27,8 +27,12 @@ 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;
        # Another workaround, this time mixed content and HSTS.
        sub_filter_once         on;
        sub_filter              'http://nextcloud.shore.co.il' 'https://nextcloud.shore.co.il';
    }
}