From c00083c7594d6bd7a42c63f560fb3f9e563f05af Mon Sep 17 00:00:00 2001 From: akhil Date: Fri, 29 Oct 2021 17:13:29 +0530 Subject: [PATCH] Deny all requests to rainloop/app/data --- templates/nginx/sites-enabled/nextcloud.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/nginx/sites-enabled/nextcloud.conf b/templates/nginx/sites-enabled/nextcloud.conf index 0f40745..b12268e 100644 --- a/templates/nginx/sites-enabled/nextcloud.conf +++ b/templates/nginx/sites-enabled/nextcloud.conf @@ -126,4 +126,10 @@ server { # Optional: Don't log access to other assets access_log off; } + + # For the Rainloop admin message saying "data folder accessible" + # It is a false positive as seen at https://github.com/pierre-alain-b/rainloop-nextcloud/issues/62 + location ^~/apps/rainloop/app/data { + deny all; + } } -- GitLab