add chunked transfer to flv location

This commit is contained in:
deflax 2021-10-11 02:32:53 +00:00
parent 4d34ae88bc
commit 027265404d

View file

@ -88,7 +88,9 @@ http {
location /flv {
flv_live on;
add_header Access-Control-Allow-Origin *;
chunked_transfer_encoding on; #open 'Transfer-Encoding: chunked' response
add_header 'Access-Control-Allow-Origin' '*'; #add additional HTTP header
add_header 'Access-Control-Allow-Credentials' 'true'; #add additional HTTP header
}
error_page 500 502 503 504 /50x.html;