Commit c8f7c5f7 authored by nimrod's avatar nimrod
Browse files

Collabora Online and Nextcloud, another try.

I swear it should be the other way round (it looks to me like Nextcloud
is embedding the code iframe), but disabling CSP on Nextcloud worked and
I saw a comment on the Internet about it so lets give it a try.
parent 6293c959
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -21,6 +21,9 @@ server {
    include     snippets/ssl.conf;
    include     snippets/nextcloud-well-known.conf;

    # Allow to include iframes in code.shore.co.il.
    add_header  Content-Security-Policy "frame-ancestors https://code.shore.co.il";

    location / {
        proxy_pass              http://$nextcloud$request_uri;
        proxy_http_version      1.1;