From 1be01c07eee3431218d0b40a58164f60fec6df31 Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 10 Feb 2020 13:04:58 -0500 Subject: [PATCH] fix bad copypaste in the example nginx file --- docs/example.nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/example.nginx.conf b/docs/example.nginx.conf index bef853d26..6d45b8198 100644 --- a/docs/example.nginx.conf +++ b/docs/example.nginx.conf @@ -106,7 +106,7 @@ server { 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 - 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 if ($unsafe) {