Re: Nginx as a forward proxy

2020-10-29 Thread Francis Daly
On Fri, Oct 30, 2020 at 12:05:13AM +0530, shankar.bor...@workapps.com wrote: Hi there, > I have requirement where from nginx, outbound request need to go to internet > https proxy and then to some other service in AWS. Request flow is as follow > > Browser --> WAF--> Nginx-->corporate https pro

Nginx as a forward proxy

2020-10-29 Thread shankar.borate
Dear Sir, I am using nginx as a reverse proxy. All my requests goes to nginx and then go to application server. This works well. I have requirement where from nginx, outbound request need to go to internet https proxy and then to some other service in AWS. Request flow is as follow Br

Re: Using NGINX as a forward proxy

2016-11-18 Thread CJ Ess
Thank you, very helpful! I was able to get it working with my http://www.google.com test case. it looks like my next problem is that the upstream is always contacted on port 80 regardless of the scheme or the port specified in the uri. Is there a handy variable that has the correct value (user spec

Re: Using NGINX as a forward proxy

2016-11-18 Thread Maxim Dounin
Hello! On Fri, Nov 18, 2016 at 02:55:13PM -0500, CJ Ess wrote: > I know its not encouraged but I am trying to use Nginx (specifically > openresty/1.11.2.1 which is based on Nginx 1.11.2) as a forward proxy. > > I did a quick setup based on all the examples I found in Google and tried > "GET http

Using NGINX as a forward proxy

2016-11-18 Thread CJ Ess
I know its not encouraged but I am trying to use Nginx (specifically openresty/1.11.2.1 which is based on Nginx 1.11.2) as a forward proxy. I did a quick setup based on all the examples I found in Google and tried "GET http://www.google.com/"; as an example and found: This does work: location

Re: nginx as a forward proxy (kind of)

2014-09-17 Thread Francis Daly
On Sun, Sep 14, 2014 at 12:28:30AM +0200, Sam J. wrote: Hi there, > I am very new to nginx and have a quick question. > I am using nginx to basically redirect certain websites through another > proxy. I am using DNS to resolve *.domain.com to the IP address of > nginx server. > I am able to get

nginx as a forward proxy (kind of)

2014-09-13 Thread Sam J.
Hi I am very new to nginx and have a quick question. I am using nginx to basically redirect certain websites through another proxy. I am using DNS to resolve *.domain.com to the IP address of nginx server. I am able to get it to work with www.domain.com (see sample config below) but would like it