Welcome! Log In Create A New Profile

Advanced

Re: Proxy Pass | Upstream with query_string

Francis Daly
May 24, 2016 12:46PM
On Tue, May 24, 2016 at 10:17:55AM -0400, hbajaj2 wrote:

Hi there,

> I need to use proxy_pass directive for the upstream server which has
> query_string, which allows it to authenticate to the upstream server. How
> can i ensure that query string is pass-on with every request that goes via
> this reverse proxy.

proxy_pass (http://nginx.org/r/proxy_pass) allows you to build the host,
port and uri to request, using variables.

Probably you can use that to arrange what you want.

What request does the client send to nginx? What request should nginx
send to its proxy_pass upstream?

When you know that, it may be more obvious what proxy_pass configuration
to use.

Good luck with it,

f
--
Francis Daly francis@daoine.org

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

Proxy Pass | Upstream with query_string

hbajaj2 May 24, 2016 10:17AM

Re: Proxy Pass | Upstream with query_string

Francis Daly May 24, 2016 12:46PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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