From 822b47e41a806a5359557d499bdb021cf660bd34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 15 Feb 2023 21:49:39 +0100 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 898b7f4..3fdbc28 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -10,7 +10,7 @@ more_set_headers "X-Content-Type-Options: nosniff"; more_set_headers "Access-Control-Allow-Origin: '${allowed_origins}'"; more_set_headers "Cross-Origin-Resource-Policy: cross-origin"; more_set_headers "Cross-Origin-Embedder-Policy: require-corp"; -root /var/www/cryptpad; +root __FINALPATH__/; index index.html; error_page 404 /customize.dist/404.html; if ($uri ~ ^(\/|.*\/|.*\.html)$) {