FEAT: VoDs accessible from browser, named as {vod_id}.mp4
This commit is contained in:
@@ -100,6 +100,14 @@ http {
|
||||
expires -1d;
|
||||
}
|
||||
|
||||
# The vods location
|
||||
location ~ ^/stream/(.+)/vods/(.+\.mp4)$ {
|
||||
alias /stream_data/$1/vods/$2;
|
||||
|
||||
# The vods should not be cacheable
|
||||
expires -1d;
|
||||
}
|
||||
|
||||
location ~ ^/\?token=.*$ {
|
||||
proxy_pass http://frontend:5173;
|
||||
proxy_http_version 1.1;
|
||||
|
||||
Reference in New Issue
Block a user