Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Как описать событие с для двух одновременно выполяющихся условий?
- To: nginx-ru@xxxxxxxxx
- Subject: Как описать событие с для двух одновременно выполяющихся условий?
- From: "Vladislav Prodan" <universite@xxxxxxx>
- Date: Fri, 26 Apr 2013 00:03:37 +0300
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=ffe; h=Date:Message-Id:From:To:Subject:Content-Type:Content-Transfer-Encoding:MIME-Version; bh=K7S0GaQE1OsGTuY3L/VaVOYqMzyuN8EXtLXLuYwSi5Y=; b=RPzac++inEC3+vAcG/NvshFdKPwSwEzAVAjsCDfbbNdKPBzJU7tASvMAaNok5BQN3JTPj6ggfaNMmfatw1CBGJoY5xRTNyoV6ec5AdLrZsbN7aHR+VtqiXFj5c6RjzMg3KfHiCRBVlV372afSYd6CVxSpiLej20tp1ZVq1xIqxo=;
Например:
if ( $http_referer = (""|"-") ) { return 403; }
if ( $http_user_agent = ("spybot"| "Mozilla/5.0 (compatible; Googlebot/2.1;
+http://www.google.com/bot.html)") ) { return 403; }
Заранее благодарю.
--
Vladislav V. Prodan
System & Network Administrator
http://support.od.ua
+380 67 4584408, +380 99 4060508
VVP88-RIPE
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|