Proxy Pass | Upstream with query_string

hbajaj2 nginx-forum at forum.nginx.org
Tue May 24 14:17:55 UTC 2016


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.

My simplified configuration is

location /RetrieveProductWS {
proxy_pass
https://apiserver/secure/v1.0/retrieveProductConditions?client_id=111-aaaa-2bbb&client_secret=aaaaabbbbbbccccddd


Please suggest possible way to achieve this requirement.

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,267095,267095#msg-267095



More information about the nginx mailing list