Say if I have many files under / (document root), all of them need
hotlink protection, except one.
I set valid_referers for location / as default, how could I skip the
proection for the specific file?
I guess I can’t simply put “valid_referers none” here according to the
documentation at http://wiki.nginx.org/HttpRefererModule (It says
default: none, but I guess this will confuse people with the value
“none”).
Any help will be greatly appreciated.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.12 (Darwin)
…never mind, I can set $invalid_referer to 0 to do this.
Anyway, thanks, and sorry for the ask-n-answer.
Hi guys,
Say if I have many files under / (document root), all of them need
hotlink protection, except one.
[…omitted…]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.12 (Darwin)