12 messages in ru.sysoev.nginxRe: nginx server redirect
FromSent OnAttachments
Kevin CastiglioneJun 19, 2009 10:44 pm 
Edho P AriefJun 19, 2009 11:17 pm 
Kevin CastiglioneJun 20, 2009 2:15 pm 
Kevin CastiglioneJun 20, 2009 2:17 pm 
Jim OhlsteinJun 20, 2009 7:52 pm 
Edho P AriefJun 20, 2009 10:04 pm 
Edho P AriefJun 20, 2009 10:18 pm 
Edho P AriefJun 20, 2009 10:30 pm 
Kevin CastiglioneJun 21, 2009 6:19 am 
Kevin CastiglioneJun 21, 2009 6:21 am 
Edho P AriefJun 21, 2009 7:31 am 
Kevin CastiglioneJun 21, 2009 11:37 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: nginx server redirectActions...
From:Jim Ohlstein (ngin@nginx.us)
Date:Jun 20, 2009 7:52:23 pm
List:ru.sysoev.nginx

Kevin Castiglione Wrote:

-------------------------------------------------------

also this rewrite rule gives Redirect Loop error on all browsers. thank you

You need something like

server { server_name XXX.aaa.com/bbb; listen 80; ... rewrite ^ http://aaa.com/bbb$request_uri? permanent; }

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,3167,3202#msg-3202