ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Запретить всё, кроме определённых локэйшинов. Как?


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: Запретить всё, кроме определённых локэйшинов. Как?
  • From: Roxis <roxis@xxxxxxx>
  • Date: Tue, 3 Jun 2008 17:08:30 +0200
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date:references:in-reply-to:x-face:x-mailer:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:sender; bh=CzYL3XQ1xRuDTnMWbZMlLl7gjn+SDM3n7F1f1L3mc2w=; b=B7pej4vLrdqUw+9ZKiOwqn5RD31ERi6AKa1er4wE9Zb65FuEjppQb+9BSsNo1jhOg+4UkDQ+e2q/wOpTb0NHuvbk9nr5XWFNlOzrp8w/HMMiMNI6PckSEEk9wrUSe02XwgGK/mqEZvKuVq1u/1by+Izk57ppxmwRluxQXUdcpTo=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:references:in-reply-to:x-face:x-mailer:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:sender; b=G7iAEVtbiLyFcyZOFU1JmEqXE7rAa7YvPMsxOPd7D1keUHf3MrvtfTXuuSbRRhO+43aV8KWJJsOQMTc55DxvZv3EkxvlbPreSu+suLoXf9GEFyQ0ExH83dLiWI3oTGeKeA1vRdTAYYkleTU9NhcpLgGTg4iBtY8bXcQQzXdl6hg=
  • In-reply-to: <48455957.4070903@xxxxxxxxx>
  • References: <48455957.4070903@xxxxxxxxx>

location = /index.php {
#...
}

location / {
return 404;
error_page 404 = /index.php;
}



 




Copyright © Lexa Software, 1996-2009.