Skip to content

Instantly share code, notes, and snippets.

@evemilano
Created January 27, 2015 13:24
Show Gist options
  • Select an option

  • Save evemilano/9ab19f69c72bf9a46b49 to your computer and use it in GitHub Desktop.

Select an option

Save evemilano/9ab19f69c72bf9a46b49 to your computer and use it in GitHub Desktop.
Bloccare hotlinking su server Nginx
location ~ .(gif|png|jpe?g)$ {
valid_referers none blocked .ilmiosito.com;
if ($invalid_referer) {
return 403;
}
}
@evemilano
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment