From 6b5295ec4b225890d3cfeee61b57599bca4e1ab8 Mon Sep 17 00:00:00 2001 From: navanchauhan Date: Tue, 9 Aug 2022 20:28:56 -0400 Subject: [PATCH] directory ttraversal fix --- conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index be7e34c..35bee75 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -13,8 +13,8 @@ location / { include conf.d/yunohost_panel.conf.inc; } -location /static { - alias __FINALPATH__/staticfiles; +location /static/ { + alias __FINALPATH__/staticfiles/; } location /media {