Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: блокировка по user-agent + Refer er
[code]
if ($http_user_agent ~ Macintosh) {
if ($http_referer ~* "domain\.com|domain\.net") {
return 503;
}
}
[/code]
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,151425,151438#msg-151438
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|