From bdb674e9b097bda28b523bdb8eab2ac0c0e8e39a Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 2 Apr 2021 20:34:19 +0200 Subject: [PATCH] fix path_transversal --- conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 3ffa7c1..81db54f 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -113,7 +113,7 @@ location /media/ { alias __DATADIR__/media/; } -location /_protected/media { +location /_protected/media/ { # this is an internal location that is used to serve # audio files once correct permission / authentication # has been checked on API side @@ -130,7 +130,7 @@ location /_protected/media { # proxy_pass $1; # } -location /_protected/music { +location /_protected/music/ { # this is an internal location that is used to serve # audio files once correct permission / authentication # has been checked on API side