Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Разные robots.txt
- To: nginx-ru@xxxxxxxxx
- Subject: Re: Разные robots.txt
- From: "playnet" <nginx-forum@xxxxxxxx>
- Date: Fri, 1 Jun 2012 07:59:34 -0400 (EDT)
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tigger.jlkhosting.com; s=x; h=From:References:In-Reply-To:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To:Date; bh=qaXx2SHlAvAQ6OolKzRGA+yLAb2TNXCBxPEVmrb/1kM=; b=EeOncoFaYtIOTEMEyRJMgdZEzMuBxt2CpdzMIstytck1A4ny/A/fAxfhzzXf0trou92icmOMVGPnZ0iPrKDj6Lw9DlIJI9PzfI8xyn/MnAgZL5xoSqmRNO6MlIoYNuck;
- In-reply-to: <AANLkTim9L+fp=5bHU5k8P_m+Jreq7ggsNaFMAdz0YuVL@mail.gmail.com>
- References: <AANLkTim9L+fp=5bHU5k8P_m+Jreq7ggsNaFMAdz0YuVL@mail.gmail.com>
передать управление апачу и им
обрабатывать например.
location ~*
\.(css|js|ico|txt|swf|flv|doc|xls|pdf|zip|rar|avi|mp3)$ {
if ($request_uri ~* "^/robots.txt") { break;}
root /var/www/site/htroot;
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,156009,227098#msg-227098
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|