ПРОЕКТЫ 


  АРХИВ 


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: Помогите составить rewrite


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: Помогите составить rewrite
  • From: "hg_04" <nginx-forum@xxxxxxxx>
  • Date: Fri, 02 Jul 2010 07:57:10 -0400
  • Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mickey.jlkhosting.com; s=x; h=Sender:From:References:In-Reply-To:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To:Date; bh=d4mVb7LppR4Gxowdoy18/7sESbiEY/69TqpxxCFXCnw=; b=ebRg4hpSzeqEfb9FPbGUDsTSiQ5kgTkzUcv5BkvkvG4/EjbgR+A4zO5YE6lvbDUcnlLbpWa4WBooXT2T3zruiOKPk+lEs7eXODYCLfzZHFhcWLJt7hJ6liB4UGfb0tSz;
  • In-reply-to: <114171278069496@xxxxxxxxxxxxxxx>
  • References: <114171278069496@xxxxxxxxxxxxxxx>

rewrite  не нужен достаточно локешина 
как-то так
[code]location = ^/folder/(.+)$ {
   proxy_pass http://one.site.ru/script.php?file=$1;
}[/code]

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?21,104665,104681#msg-104681


_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.