I switched from nginx-rtmp to Nimble yesterday and I really like it, but I got one problem;
I got multiple domains accessing the playlist.m3u8
- https://cast.mydomain.tv/
- https://www.mydomain.tv/
- https://cdn.mydomain.tv/
My Nimble server must return the Access-Control-Allow-Origin CORS header.
I know I can set the header to one domain or to a wildcard but a wildcard isn't very safe and one domain isn't enough for me.
I used to check the origin and set the header to the origin if the origin was in an array of allowed domains.
It's explained here: http://www.w3.org/TR/cors/#resource-implementation - 6.4 Implementation Considerations
Is it possible to do this with Nimble Streamer?