|
|
@ -106,7 +106,7 @@ server {
|
|
|
|
if ($uri ~ ^\/common\/onlyoffice\/.*\/index\.html.*$) { set $unsafe 1; }
|
|
|
|
if ($uri ~ ^\/common\/onlyoffice\/.*\/index\.html.*$) { set $unsafe 1; }
|
|
|
|
|
|
|
|
|
|
|
|
# everything except the sandbox domain is a privileged scope, as they might be used to handle keys
|
|
|
|
# everything except the sandbox domain is a privileged scope, as they might be used to handle keys
|
|
|
|
if ($host != sandbox.cryptpad.info) { set $unsafe 0; }
|
|
|
|
if ($host != $sandbox_domain) { set $unsafe 0; }
|
|
|
|
|
|
|
|
|
|
|
|
# privileged contexts allow a few more rights than unprivileged contexts, though limits are still applied
|
|
|
|
# privileged contexts allow a few more rights than unprivileged contexts, though limits are still applied
|
|
|
|
if ($unsafe) {
|
|
|
|
if ($unsafe) {
|
|
|
|