10 messages in ru.sysoev.nginxRE: Nginx rewrite host
FromSent OnAttachments
Glen LumanauFeb 10, 2009 8:44 pm 
Kingsley ForemanFeb 11, 2009 12:25 am 
Glen LumanauFeb 11, 2009 12:34 am 
Tomasz PajorFeb 11, 2009 1:31 am 
Igor SysoevFeb 11, 2009 1:36 am 
Tomasz PajorFeb 11, 2009 2:05 am 
Igor SysoevFeb 11, 2009 2:09 am 
Glen LumanauJun 10, 2009 12:58 am 
Maxim DouninJun 10, 2009 2:06 am 
Glen LumanauJun 10, 2009 2:24 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 rewrite hostActions...
From:Glen Lumanau (gl@lumanau.web.id)
Date:Feb 11, 2009 12:34:51 am
List:ru.sysoev.nginx

Hello!

How can I add 2 or more host?

From: owne@sysoev.ru [mailto:owne@sysoev.ru] On Behalf Of Kingsley Foreman Sent: 11 Februari 2009 15:26 To: ngi@sysoev.ru Subject: Re: Nginx rewrite host

if ($host != blah.com){ rewrite ^(.*)$ http://blah.com$1 break; }

From: Glen Lumanau <mailto:gl@lumanau.web.id>

Sent: Wednesday, February 11, 2009 3:14 PM

To: ngi@sysoev.ru

Subject: Nginx rewrite host

Hello!

How can I create this rule

If host = 127.0.0.1, 127.0.0.2

Do nothing

If host != 127.0.0.1, 127.0.0.2

Rewrite bla bla bla

Thank you for any help