From 0528220b5e010025225c985a195e0565c4de5e59 Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 18 Jul 2022 14:10:34 +0700 Subject: [PATCH] authenticate media and thumb requests --- docker_assets/nginx.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker_assets/nginx.conf b/docker_assets/nginx.conf index e134a8e7..a9702490 100644 --- a/docker_assets/nginx.conf +++ b/docker_assets/nginx.conf @@ -3,18 +3,22 @@ server { listen 8000; location /cache/videos/ { + auth_request /api/ping/; alias /cache/videos/; } location /cache/channels/ { + auth_request /api/ping/; alias /cache/channels/; } location /cache/playlists/ { + auth_request /api/ping/; alias /cache/playlists/; } location /media/ { + auth_request /api/ping/; alias /youtube/; types { text/vtt vtt;