Answer the question
In order to leave comments, you need to log in
How to setup location with nginx hls vod?
Tell me, please, is it possible to implement this location:
location /vod/ {
vod_mode remote;
vod_upstream_location /remote;
vod_cache_buffer_size 1m;
location ^~ /remote/vod/ {
proxy_pass site.com/;
}
location /vod/ {
vod hls;
add_header Access-Control-Allow-Headers '*';
add_header Access-Control-Allow-Origin '*';
add_header Access-Control-Allow-Methods 'GET, HEAD, OPTIONS';
vod_mode remote;
vod_upstream_location /remote;
vod_cache_buffer_size 1m;
}
In addition to HLS VOD, which it makes using the site.com link from MP4, it processed standard jpg, png, html, php through a proxy pass, and issued it together with the site-release.com/vod/ location
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question