|
|
|
|
АРХИВ :: nginx-ru
|
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Вопрос по Proxy_redirect
- To: nginx-ru@xxxxxxxxx
- Subject: Re: Вопрос по Proxy_redirect
- From: "Alexey V. Karagodov" <karagodov@xxxxxxxxx>
- Date: Tue, 18 Dec 2007 12:49:07 +0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=cXuJYcj2x/iQMsid4Sr0rN6z/MBa7xR8T+Ga/2nWIGA=; b=jWsXDjjxW+WScPvT02BkBHhq1i6oGfz6St/I4U5dNDUpJGcKSy7vhzmIXxsqfj86Jd17+lUQTo1VR3Rq16ak4ULwQDG5kaO/KcmTVjwL8joOKGViZ76o824mmOy18D2PHbqHZBO81AfoEt3AnLLPHFLVMjjWagxF5NSQnVW+FG4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=A6S/CEBsRzP0FhkYzrW5rQFpkw8g9JqS9ZUGPWgClp6hQAJ1nt1OEhexD7s8sNFBpmuVYiqpMJINvOOcKsVWOV3GXknPUmFUBYkTVqycM28c5XX7qQAuGsRPG6Hxd0X5JeMZ3ALWG5/lx7Wd5ThFaRr9W5E7oY92WN0vf3iSEHs=
- In-reply-to: <47679214.2050408@xxxxxxxxx>
- References: <476782FF.8030908@xxxxxxxxx> <20071218084810.GD6074@xxxxxxxxxxxxx> <47679214.2050408@xxxxxxxxx>
в proxy_redirect явно задайте имя, куда надо отредиректить, а не
просто /
proxy_redirect http://localhost/index.html
http://$host/index.html;
как-то так
On 18.12.2007, at 12:25, Eugene Fominykh wrote:
Igor Sysoev пишет:
On Tue, Dec 18, 2007 at 01:21:19PM +0500, Eugene Fominykh wrote:
Nginx - 0.5.33
Apache 1.3.37
вот кусок конфига nginx.conf
server
{
listen 80;
server_name localnet;
location / {
proxy_pass http://127.0.0.1:8008/;
proxy_redirect default;
- proxy_redirect default;
+ proxy_redirect http://bugs.localnet:8008/ /;
}
}
В том то и дело, что и так не работает.
Может это заморочки именно системы баг-репортов или nginx сможет с
этим справиться? :)
|
|
|