From cc08c702240e0ff8ff35abcf0590e928a47323bf Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 20 Mar 2019 20:22:37 +0100 Subject: [PATCH] Quickfix for path traversal issue --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 2e085c9..a416de2 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -6,7 +6,7 @@ location = /.well-known/caldav { } location ^~ __PATH__ { - alias __FINALPATH__/; + alias __FINALPATH__; if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent;