mirror of
https://code.castopod.org/adaures/castopod
synced 2025-06-06 18:31:05 +00:00
build(docker): include content type header for transcript files
This commit is contained in:
parent
178bf998ab
commit
bb3c8ba6d1
@ -37,7 +37,13 @@
|
|||||||
"settings": {
|
"settings": {
|
||||||
"http": {
|
"http": {
|
||||||
"body_read_timeout": $CP_TIMEOUT,
|
"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 {
|
http {
|
||||||
include /etc/nginx/mime.types;
|
include /etc/nginx/mime.types;
|
||||||
|
types {
|
||||||
|
text/vtt vtt;
|
||||||
|
text/srt srt;
|
||||||
|
}
|
||||||
default_type application/octet-stream;
|
default_type application/octet-stream;
|
||||||
|
|
||||||
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
||||||
|
Loading…
x
Reference in New Issue
Block a user