Created
September 30, 2015 13:24
-
-
Save ItsMeooooooo/72fa8920cfb826984c3d to your computer and use it in GitHub Desktop.
This file contains 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 mywebsite.com *.mywebsite.com; | |
if ($invalid_referer) { | |
return 403; | |
} | |
} | |
location /pict/ { | |
valid_referers none blocked mywebsite.com *.mywebsite.com; | |
if ($invalid_referer) { | |
return 403; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment