Welcome! Log In Create A New Profile

Advanced

Re: proxy_pass redirection

Francis Daly
July 23, 2015 08:16AM
On Wed, Jul 22, 2015 at 11:26:11AM +0200, Puneeth Kumar wrote:

Hi there,

> I'm able to configured Nginx and it's working but I've challenge in
> configuring it for Dynamic proxy_pass. I've tried to use wild characters
> in proxy_pass it's not working, please help.

The proxy_pass documentation is at http://nginx.org/r/proxy_pass.

I am not sure what you mean by "dynamic".

You want to make one http request of nginx; and you want nginx to make
one http request of the proxy_pass upstream server.

Can you give some examples of the request you make to nginx, and the
request that you want nginx to make of upstream?

That might make clearer what it is you want to do.

Note that if you use

location /one/ {
proxy_pass http://upstream/two/;
}

then if you make a request of /one/abc, nginx will make a request of
/two/abc to upstream; and if you make a request of /one/def, nginx will
make a request of /two/def to upstream.

Is that what you mean by "dynamic"? If so, things should Just Work. If
you mean something else, please explain.

f
--
Francis Daly francis@daoine.org

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

proxy_pass redirection

Puneeth Kumar July 22, 2015 05:28AM

Re: proxy_pass redirection

unclepieman July 22, 2015 08:20AM

Re: proxy_pass redirection

Puneeth Kumar July 23, 2015 06:26AM

Re: proxy_pass redirection

Francis Daly July 23, 2015 08:16AM

Re: proxy_pass redirection

Puneeth Kumar July 24, 2015 05:18AM

Re: proxy_pass redirection

Francis Daly July 24, 2015 06:46PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 132
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