I'm using nginx to serve static files for my website.
I'm trying to protect my static files from hotlinking, so I've done this:
location ~*.(gif|jpg|jpeg|png|bmp|swf)$ {
valid_referers none blocked mywebsite.com *.mywebsite.com ;
}
However, this has stopped my static files from being served from other websites and from my website. My website is a white page now. Any ideas?