Score:0

logfile for image hotlinking protection

in flag

In my nginx config

location = "/fake-hotlink-stub" {
internal;
if (!-f "image-physical-path/myimage.jpg") {
return 403;
}
rewrite ^ "/myphoto.jpg" last;

This allows me to serve a specific image to anyone hotlinks any image from my website.

Are you aware if i can log those requests to a file?

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.