Score:0

hotlink protection blocking valid referrers also

br flag

Having an issue with valid referrers not being considered in the nginx config. I have domaina.com calling images from domainb.com. The issue is that the domainb.com images are being hotlinked. so i have created a page rule like this in cloudflare.

https://domainb.com/images/*
Cache Level: Bypass

Then placed this code in the domainb.com nginx config.

location /images/ {
           valid_referers none blocked domaina.com *.domain.com;
           if ($invalid_referer) {
              return 403;
        }

But when i visit an URL on domaina.com, the images from the domainb.com are blocked with 403 error. what am i doing wrong!

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.