From 036f58afb9c59d07a764af81a659309acebfdb0b Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Fri, 26 Apr 2024 17:09:35 +0100 Subject: [PATCH] Fixing mime type --- .ebextensions/nginx/conf.d/elasticbeanstalk/00_application.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/.ebextensions/nginx/conf.d/elasticbeanstalk/00_application.conf b/.ebextensions/nginx/conf.d/elasticbeanstalk/00_application.conf index 822c1d3..f7f364d 100644 --- a/.ebextensions/nginx/conf.d/elasticbeanstalk/00_application.conf +++ b/.ebextensions/nginx/conf.d/elasticbeanstalk/00_application.conf @@ -121,6 +121,7 @@ location ^~ /api/ { } location ~ \.vtt$ { include conf.d/elasticbeanstalk/subfiles/iiif-website.conf; + add_header 'Content-Type' 'text/vtt'; add_header 'Access-Control-Allow-Origin' '*'; add_header 'Cache-Control' 'public, no-transform, max-age=2419200'; add_header "X-UA-Compatible" "IE=Edge,chrome=1";