Answer the question
In order to leave comments, you need to log in
Is it correct to give ts files to nginx?
I can’t understand what’s going on, I can’t upload files to the site on the Internet (m3u8 video content) I
connect my server to the main domain (CDN level 3 domain), it doesn’t work on the site, but if you go to cdn._site_.com then everything works, but it's on my machine, but you need to provide content on the Internet. I've already shoveled the entire crossdomain this way and that, and I gave access permission, and so on.
I suspect it is in nginx, VLC video streams video and plays it fine.
The site writes to me like this
GET - HEADER: ACCESS-CONTROL-EXPOSE-HEADERS
OS -UBUNTU
Answer the question
In order to leave comments, you need to log in
You need to deal with the following headers:
* Access-Control-Allow-Origin
* Access-Control-Expose-Headers
* Access-Control-Allow-Methods
* Access-Control-Allow-Credentials
Example (everyone is allowed everything): enable-cors. org/server_nginx.html
Your player/streaming software probably has a documentation detailing how which header should be configured.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question