I am trying to create an application thats core it will be to show videos in a learning environment based on meteor/nodejs. The problem is the streaming itself. As described on many pages, node is not good for serving static content.
So my idea was to let my nginx server serve the video.
The problem is: The videos should not be public, they should only be accessible to a logged in user that has the right to view this video.
Is there any way to configure nginx to let only users that logged in to my app and have the rights to view a video view the video?
What is the best approach?