fix bad copypaste in the example nginx file
This commit is contained in:
parent
0e9ba3a88d
commit
1be01c07ee
@ -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) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user