diff --git a/conf.d/nextcloud.shore.co.il.conf b/conf.d/nextcloud.shore.co.il.conf index 2ba48e12000f69bfd5fe97d4a356f60651aeb14f..525fa444f8665f78ee1a023591f1942e022a7cd8 100644 --- a/conf.d/nextcloud.shore.co.il.conf +++ b/conf.d/nextcloud.shore.co.il.conf @@ -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'; } }