Skip to content
Snippets Groups Projects
Commit dda18375 authored by nimrod's avatar nimrod
Browse files

Another Nextcloud and Collabora Online workaround.

This time it's mixed content.
parent 5fd00d28
No related branches found
No related tags found
No related merge requests found
Pipeline #889 passed
...@@ -27,8 +27,12 @@ server { ...@@ -27,8 +27,12 @@ server {
include snippets/proxy-headers.conf; include snippets/proxy-headers.conf;
proxy_hide_header X-Frame-Options; proxy_hide_header X-Frame-Options;
client_max_body_size 512m; client_max_body_size 512m;
# Temporary measure to test a Collabora Online issue, should not be left # Temporary measure to test a Collabora Online issue, should not be left
# as is. # as is.
proxy_hide_header content-security-policy; 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';
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment