mirror of
https://github.com/YunoHost-Apps/cryptpad_ynh.git
synced 2024-09-03 18:26:14 +02:00
Update nginx.conf
This commit is contained in:
parent
07cd79854e
commit
3449fc44f7
1 changed files with 1 additions and 1 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Reference in a new issue