Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev ][Date Next ][Thread Prev ][Thread Next ][Date Index ][Thread Index ]
Re: Zope и nginx
To : nginx-ru@xxxxxxxxx
Subject : Re: Zope и nginx
From : "Vladislav Vorobiev" <mymir.org@xxxxxxxxxxxxxx >
Date: Thu, 15 Nov 2007 14:50:36 +0300
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=VJsOBml0G7klcbxrxj+oYg6LiN4XErzhZt2XflpJY8s=; b=YcwuzaHVXyR1ys5ZNcS7MaIjJ5z7Y7PYvaiIgynpkjWSqHkX3whheRiBBThv0a3/WzG8+tOM6d/M5HJ37ppk078yvNftzd2bcskxRNgAlW96/By5JlXgIiMaIJU9n+2+xof9KnKFavg/7AjQYiA5PDRyy1+7DspIlqsqjKtpioQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jcjY29JJgxooV+t0//JsRV3v6UdLrP+/9Y7Gj7VO+S/CecYRZ6R+o3q+cB/3/sLjEYNrBjSTXXh2Av2rFER1xeMGtLE69aDtr3ObVhCIazFnJDfUHKHwB38TAu4y1tDQhrYxynHDI7BC9WQQ/MgPmiIiKdFjXsSaydc3JNUQCMg=
In-reply-to: <20071115111015.GF65370@xxxxxxxxxxxxx >
References: <604c02230711150254j4bab886es73a31b1b9637bca9@xxxxxxxxxxxxxx > <20071115111015.GF65370@xxxxxxxxxxxxx >
> > RewriteRule ^/(.*)
> > http://localhost:8080/VirtualHostBase/http/MOJDOMAIN.ru:80/PUTVPAPKU/VirtualHostRoot/$1
> > [L,P]
>
> server {
>
> ...
>
> location / {
>
> proxy_pass
> http://localhost:8080/VirtualHostBase/http/MOJDOMAIN.ru:80/PUTVPAPKU/VirtualHostRoot/ ;
>
> }
Ок, главная страница открывается, но у меня ещё url сзади.
Как мне ему объяснить, что бы он не зацикливался на главной странице
и принимал запросы
/(.*) proxy_pass/$1
Как в примере с апаче. Что то не могу понять.
Влад
--
Best Regards
Vlad Vorobiev
http://www.mymir.org