valid_referers

Anton Maksimenkov anton200 at gmail.com
Mon Apr 3 20:26:53 MSD 2006


После добавления в конфиг куска из примера:

valid_referers none blocked *.site.my/ www.site.my/;
if ($invalid_referer) {
	return 404;
}

получил грязные ругательства:

2006/04/03 09:09:25 [emerg] 26101#0: the "none" or "blocked" referers
are specified in the "valid_referers" directive without any valid
referer
2006/04/03 09:09:25 [emerg] 26101#0: the configuration file
/var/nginx/conf/nginx.conf test failed

как тут быть ?
--
engineer


More information about the nginx-ru mailing list