How to proxy

2017-06-05 Thread David Woodstuck
I have one proxy server(nginx) - such as nginx.mycom.com and three upstream servers - name1.mycom.com, name2.mycom.com name3.mycom.com for my one application. Contents from upstream servers have a lot of iframes which have different domains. I want to allow XSS for these different domains. I don't

Re: how to proxy a proxy (subrequest with corporate proxy)

2017-04-01 Thread Francis Daly
On Thu, Mar 30, 2017 at 06:13:59PM -0400, CeeGeeDev wrote: Hi there, > It's not clear to us how to configure a "web proxy" for a subrequest, since > the subrequest itself is already basically a "proxy" call. Stock nginx does not speak proxied-http to a http proxy. I suspect that the facility wi

how to proxy a proxy (subrequest with corporate proxy)

2017-03-30 Thread CeeGeeDev
Greetings, Our custom nginx module implements a number of subrequests (REST calls to other servers to obtain data for our business logic). Everything is working correctly, except one customer requires a corporate HTTP web proxy for the URL (running on a different server) that our subrequests will

Re: Help how to Proxy without redirect

2016-11-03 Thread Francis Daly
On Mon, Oct 31, 2016 at 09:11:59AM -0400, tbaror wrote: Hi there, > I need to use Nginx as proxy and to pass all communication trough it > without redirecting to original web location. That's what proxy_pass does, more or less. Apart from "proxy" and "all communication"; you'd need different t

Help how to Proxy without redirect

2016-10-31 Thread tbaror
Hello All, I need to use Nginx as proxy and to pass all communication trough it without redirecting to original web location. I have following configuration file the initial logon and welcome page works well as soon as i click on link its getting redirected in to the original web page. any idea h

Re: how to proxy request to different upstream by url request parameters.

2014-03-23 Thread jqzone
Thanks,it works well! On Sat, Mar 22, 2014 at 2:40 PM, Thomas Glanzmann wrote: > Hello, > > > > How to proxy request to different upstream by url request parameters? > > > http://nginx.org/en/docs/http/ngx_http_upstream_module.html#sticky > > this is part of the co

Re: how to proxy request to different upstream by url request parameters.

2014-03-21 Thread Thomas Glanzmann
Hello, > > How to proxy request to different upstream by url request parameters? > http://nginx.org/en/docs/http/ngx_http_upstream_module.html#sticky this is part of the commercial subscription, but you can probably obtain the same using a MAP like that: map $arg_key $backend {

Re: how to proxy request to different upstream by url request parameters.

2014-03-21 Thread Thomas Glanzmann
Hello, > How to proxy request to different upstream by url request parameters? http://nginx.org/en/docs/http/ngx_http_upstream_module.html#sticky Cheers, Thomas ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listi

how to proxy request to different upstream by url request parameters.

2014-03-21 Thread jqzone
upstream upstream1{ } upstream upstream2{ } upstream upstream3{ } upstream upstream4{ } request url is http://.com/id=xxx&key=xxx if (id is 1~100 key=key1) send to upstream1 if (id is 1~100 key=key2) send to upstream2 if (id is 101~200 key=key1) send to upstream3 if (id is 101~200 key=