Nginx as a forward proxy

Francis Daly francis at
Thu Oct 29 23:32:28 UTC 2020

On Fri, Oct 30, 2020 at 12:05:13AM +0530, shankar.borate at 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 proxy --> AWS S3 (s3 streaming url).
> My question is, is there a way nginx can proxy pass request to S3 via proxy server? If yes, how?


Current stock nginx does not speak the http-via-proxy protocol as
a client.

I'm not aware of any third party modules that do that, either.

I suspect your choices are "use something other than nginx", or "write,
or encourage someone to write, the code that you want".

Good luck with it,

Francis Daly        francis at

More information about the nginx mailing list