How to disable valid_referers?

Igor Sysoev igor at sysoev.ru
Wed Nov 10 16:38:17 MSK 2010


On Wed, Nov 10, 2010 at 09:36:20PM +0800, Horus Lee wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> ...never mind, I can set $invalid_referer to 0 to do this.
> Anyway, thanks, and sorry for the ask-n-answer. :-P

You should not set $invalid_referer to 0.
You should use locations.


-- 
Igor Sysoev
http://sysoev.ru/en/



More information about the nginx mailing list