add text/vtt content-type header to subtitle files

This commit is contained in:
simon 2022-02-11 13:06:13 +07:00
parent b1435434e6
commit 1abe4fb4d6
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -16,6 +16,10 @@ server {
location /media/ { location /media/ {
alias /youtube/; alias /youtube/;
types {
text/vtt vtt;
}
} }
location / { location / {