How to disable valid_referers?

Horus Lee horus.li at gmail.com
Wed Nov 10 16:27:58 MSK 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi guys,

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)

iEYEARECAAYFAkzandwACgkQdcWH549oblh7+ACfRW1N/So+AEZJQGICi5LzVNMr
+SQAn2QnsZhCZSSoy4L6o04z9Ih6rgDj
=2L0L
-----END PGP SIGNATURE-----



More information about the nginx mailing list