From f136dfd44eda128129e5fd2d850a3a3c600e6a4a Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sun, 25 Oct 2020 11:49:27 +0100 Subject: [PATCH] Update nginx.conf to protect against 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 caacf71..da17188 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -12,7 +12,7 @@ location __PATH__/ { proxy_pass http://127.0.0.1:__PORT__/; } -location __PATH__/downloads { +location __PATH__/downloads/ { alias /home/yunohost.transmission/completed/; autoindex on; autoindex_exact_size off;