Skip to content
Snippets Groups Projects
Verified Commit bb3c8ba6 authored by Romain de Laage's avatar Romain de Laage
Browse files

build(docker): include content type header for transcript files

parent 178bf998
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,13 @@
"settings": {
"http": {
"body_read_timeout": $CP_TIMEOUT,
"max_body_size": $CP_MAX_BODY_SIZE_BYTES
"max_body_size": $CP_MAX_BODY_SIZE_BYTES,
"static": {
"mime_types": {
"text/vtt": [".vtt"],
"text/srt": [".srt"]
}
}
}
}
}
......@@ -9,6 +9,10 @@ events {
http {
include /etc/nginx/mime.types;
types {
text/vtt vtt;
text/srt srt;
}
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment