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";