static-file-server icon indicating copy to clipboard operation
static-file-server copied to clipboard

Referer wildcard enhancement

Open dhanishmeht opened this issue 5 years ago • 2 comments

Would it be possible to implement rules for the referrer environment variable using wild cards.

Use case: I am using this to serve images and videos for a website so users can play the video on the website and I want to lock down access to the file server accept for the website. However, it doesn't make sense to add all the URL's from where these videos might be served, since its a SPA.

dhanishmeht avatar May 11 '20 20:05 dhanishmeht

That is a good one that shouldn't be difficult to add. I'll implement it when I get some free time.

halverneus avatar May 13 '20 16:05 halverneus