From f13a1d2445294b271601fdc45bd4ead165a90081 Mon Sep 17 00:00:00 2001
From: Jocelyn Delalande <jocelyn@crapouillou.net>
Date: Sun, 10 Jun 2018 22:49:36 +0200
Subject: [PATCH] Remove obsolete /_protected/media config

See https://code.eliotberriot.com/funkwhale/funkwhale/issues/298#note_3314

ref #298
---
 deploy/nginx.conf | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/deploy/nginx.conf b/deploy/nginx.conf
index 66851321fb..e86424d0b3 100644
--- a/deploy/nginx.conf
+++ b/deploy/nginx.conf
@@ -79,14 +79,6 @@ server {
         alias /srv/funkwhale/data/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
-        internal;
-        alias   /srv/funkwhale/data/media;
-    }
-
     location /_protected/music {
         # this is an internal location that is used to serve
         # audio files once correct permission / authentication
-- 
GitLab