13 messages in ru.sysoev.nginxRe: proxy pass
FromSent OnAttachments
Igor SysoevNov 28, 2007 11:17 am 
Eire AngelNov 28, 2007 4:55 pm 
Igor SysoevNov 28, 2007 10:22 pm 
Cliff WellsNov 29, 2007 10:48 am 
Igor SysoevNov 29, 2007 11:05 am 
Cliff WellsNov 29, 2007 11:39 am 
Cliff WellsNov 29, 2007 6:41 pm 
Igor SysoevNov 29, 2007 10:50 pm 
Igor SysoevNov 29, 2007 10:53 pm 
Igor SysoevNov 30, 2007 12:25 am 
Igor SysoevNov 30, 2007 6:46 am 
Cliff WellsNov 30, 2007 2:11 pm 
Igor SysoevNov 30, 2007 2:20 pm 
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: proxy passActions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Nov 28, 2007 10:22:09 pm
List:ru.sysoev.nginx

On Wed, Nov 28, 2007 at 04:55:25PM -0800, Eire Angel wrote:

anyone have an working example of the new proxy pass with URI directive?

It's not a new proxy_pass, it's old one that has been broken:

locaiton /one/ { proxy_pass http://localhost/two/; }

"/two/" is URI-part.

The proxy_pass supports variables, for example:

proxy_pass http://$host$uri;

and the the host part will be resolved on the fly.

Igor Sysoev <is-G@public.gmane.org> wrote: Changes with
nginx 0.6.20 28 Nov 2007

*) Bugfix: a segmentation fault might occur in worker process if a "proxy_pass" directive with URI-part was used; bug appeared in 0.6.19.