mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-19 13:01:19 +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": {
|
||||
"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" '
|
||||
|
Loading…
x
Reference in New Issue
Block a user