Varnish hotlink protection with multiple referers
up vote
0
down vote
favorite
I have been trying to follow this: https://varnish-cache.org/trac/wiki/VCLExampleAvoidHotlinking And include multiple referers such as: if (req.http.host == "example.com" && req.url ~ "^/wp-content/uploads/" && (req.http.referer && req.http.referer !~ "^http://example.com/" && req.http.referer !~ "^http://twitter.com/" && req.http.referer !~ "^http://linkedin.com/" && req.http.referer !~ "^http://lnkd.in/" && req.http.referer !~ "^http://t.co/" && req.http.referer !~ "^http://google.com/" && req.http.referer !~ "^http://bing.com/" && req.http.referer !~ "^http://yahoo.com/")) { return (synth(403, ...