From 3449fc44f7fddf3f8e7d883b9082f51d0095dca2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 25 Mar 2023 16:48:41 +0100 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index de6a244..2ae0a40 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -26,7 +26,7 @@ set $mediaSrc "blob:"; set $childSrc "https://${main_domain}"; set $workerSrc "'self'"; set $scriptSrc "'self' resource: https://${main_domain}"; -set $frameAncestors “‘self’ https: vector:”; +set $frameAncestors "'self' https: vector:"; set $unsafe 0; if ($uri ~ ^\/(sheet|doc|presentation)\/inner.html.*$) { set $unsafe 1; } if ($uri ~ ^\/common\/onlyoffice\/.*\/.*\.html.*$) { set $unsafe 1; }