X-Accel-Redirect to proxy_pass
Igor Sysoev
is at rambler-co.ru
Wed Aug 13 10:51:07 MSD 2008
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/;
}
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list