From 1abe4fb4d613721aadb35f26938a7f78aa0a6351 Mon Sep 17 00:00:00 2001 From: simon Date: Fri, 11 Feb 2022 13:06:13 +0700 Subject: [PATCH] add text/vtt content-type header to subtitle files --- docker_assets/nginx.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker_assets/nginx.conf b/docker_assets/nginx.conf index 7d8421f..2bf3241 100644 --- a/docker_assets/nginx.conf +++ b/docker_assets/nginx.conf @@ -16,6 +16,10 @@ server { location /media/ { alias /youtube/; + + types { + text/vtt vtt; + } } location / {