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