После добавления в конфиг куска из примера:
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