Welcome! Log In Create A New Profile

Advanced

Re: Ngnix as Proxy with Multiple Directories Issue

August 19, 2011 10:44AM
On Fri, Aug 19, 2011 at 10:24:48AM -0400, ckozler wrote:
> Hi Everyone,
>
> I am having an odd issue here with Ngnix as a my proxy for my pages
> served up by Apache. This is a pretty vanilla proxy setup - the issues
> I am facing (and my respective config) are as follows:
>
> I have my DNS and everything setup properly so I know that is not an
> issue. All requests to licensing.fixflyer.com and licensing are sent to
> the Ngnix web proxy and I can confirm that it is not in fact any DNS
> issue. With that -
>
>
>
>
> The issue:
>
> Whenever I type licensing/downloads or licensing.fixflyer.com/downloads
> it redirects me to http://licensing/licensing.fixflyer.com/downloads and
> http://licensing.fixflyer.com/licensing.fixflyer.com/downloads
> (respectively depending on which request was made) - the same goes for
> the downloads domain as well.
>
> I am thinking I need to add a location block for every directory that I
> want to proxy for but that seems a little wrong - shouldnt any request
> to licensing.fixflyer.com regardless of the directory path be
> automatically resolved and not auto-appended as such?

It's not clear what do you expect from this setup.
When you said about "redriect", you mean 302 or 301 redirect ?


--
Igor Sysoev

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Ngnix as Proxy with Multiple Directories Issue

ckozler August 19, 2011 10:24AM

Re: Ngnix as Proxy with Multiple Directories Issue

Igor Sysoev August 19, 2011 10:44AM

Re: Ngnix as Proxy with Multiple Directories Issue

ckozler August 19, 2011 10:51AM

Re: Ngnix as Proxy with Multiple Directories Issue

ckozler August 19, 2011 10:52AM

Re: Ngnix as Proxy with Multiple Directories Issue

Igor Sysoev August 19, 2011 10:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 232
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready