Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How you enable Hotlink Protection for images when using Varnish. #4

Open
ankitsnlq opened this issue May 10, 2015 · 1 comment
Open

Comments

@ankitsnlq
Copy link

Hi ,

I'm using varnish with Wordpress but unable to find a way to make Hotlink protections plugins work. If you have solution please do share with us.

@getsource
Copy link

This isn't something I've studied in depth, but after a quick search, this
may be helpful:
https://www.varnish-cache.org/trac/wiki/VCLExampleAvoidHotlinking

Since the plugins are likely not aware of the Varnish layer, it makes sense
that this would be an issue. If you have access to your VCL (or can request
that your host add additional rules), the simplest way is probably to use
something like the above (modified for your excluded files, of course).

On Sunday, May 10, 2015, Ankit [email protected] wrote:

Hi ,

I'm using varnish with Wordpress but unable to find a way to make Hotlink
protections plugins work. If you have solution please do share with us.


Reply to this email directly or view it on GitHub
#4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants