blob: f2926e12b052a44b25a0f30cc3b2e7905dcc39a4 (
plain)
1
2
3
4
5
6
7
8
9
10
|
# -*- mode: nginx; mode: flyspell-prog; ispell-local-dictionary: "american" -*-
### Hotlinking protection for images. Include it in any context you
### want. Adjust the list of allowed referers to your liking.
valid_referers none blocked *.example.com *.google.com my.site.com;
if ($invalid_referer) {
return 200 "No image hotlinking allowed!\n";
}
|