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 29, 2007 10:50:25 pm
List:ru.sysoev.nginx

On Thu, Nov 29, 2007 at 06:41:28PM -0800, Cliff Wells wrote:

On Thu, 2007-11-29 at 22:06 +0300, Igor Sysoev wrote:

First, you need add URI-part:

- proxy_pass http://$backend; + proxy_pass http://$backend$request_uri;

Out of curiosity: this worked before without $request_uri. Is this requirement due to some side-effect from using a variable?

Yes, there is some disparity.

Before proxy_pass supports two forms 1) like root: proxy_pass http:/host:port 1) like alias: proxy_pass http:/host:port/uri

With variable support we can easy support "root" functionality. But how we can to separate alias from full URL ? May be so

proxy_pass $url; # alias proxy_pass_full $url; # full URL