atom feed5 messages in ru.sysoev.nginxRe: X-Accel-Redirect to proxy_pass
FromSent OnAttachments
DanielAug 12, 2008 7:30 am 
Igor SysoevAug 12, 2008 7:53 am 
DanielAug 12, 2008 9:46 pm 
Igor SysoevAug 12, 2008 11:50 pm 
Igor SysoevAug 14, 2008 6:00 am.xar
Subject:Re: X-Accel-Redirect to proxy_pass
From:Igor Sysoev (is-G@public.gmane.org)
Date:Aug 12, 2008 11:50:44 pm
List:ru.sysoev.nginx

On Wed, Aug 13, 2008 at 01:46:33PM +0900, Daniel wrote:

First I want to thank you for nginx is superb, and for your time to respond. I debug the proxy server and looks like the request after the redirection didn't change!?. Any hints?.

This is nginx feature: if you set proxy_pass without URI part, then it will use original URI.

Workaround is to add URI part:

location /store/ { internal; - proxy_pass http://filestore; + proxy_pass http://filestore/store/; }