Created
January 27, 2015 13:24
-
-
Save evemilano/9ab19f69c72bf9a46b49 to your computer and use it in GitHub Desktop.
Bloccare hotlinking su server Nginx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| location ~ .(gif|png|jpe?g)$ { | |
| valid_referers none blocked .ilmiosito.com; | |
| if ($invalid_referer) { | |
| return 403; | |
| } | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://www.evemilano.com/2014/11/hotlinking/