update nginx.example.conf for latest rich text CSP

pull/1/head
ansuz 4 years ago
parent fd355d789f
commit 737c42b447

@ -102,7 +102,6 @@ server {
set $unsafe 0; set $unsafe 0;
# the following assets are loaded via the sandbox domain # the following assets are loaded via the sandbox domain
# they unfortunately still require exceptions to the sandboxing to work correctly. # they unfortunately still require exceptions to the sandboxing to work correctly.
if ($uri = "/pad/inner.html") { set $unsafe 1; }
if ($uri = "/sheet/inner.html") { set $unsafe 1; } if ($uri = "/sheet/inner.html") { set $unsafe 1; }
if ($uri ~ ^\/common\/onlyoffice\/.*\/index\.html.*$) { set $unsafe 1; } if ($uri ~ ^\/common\/onlyoffice\/.*\/index\.html.*$) { set $unsafe 1; }

Loading…
Cancel
Save