ПРОЕКТЫ 


  АРХИВ 


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: Помогите с переводом ру ла в нгинкс (из апаче)



On 12/07/10 11:10, ShivaS wrote:
RewriteCond %{REQUEST_URI} !(.*)file.php$
RewriteRule ^/file(.*)$ http://dyn.domain.com:8080/file.php$1  [P,L]


location /file {
   rewrite ^/file(.*)$ /file.php$1;
}

location = /file.php {
   proxy_pass http://dyn.domain.com:8080;
}

--
 Anton Yuzhaninov

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


 




Copyright © Lexa Software, 1996-2009.