proxy_pass via HTTP proxy

Francis Daly francis at
Mon Jul 22 22:43:30 UTC 2013

On Wed, Jul 17, 2013 at 08:58:35PM -0400, cavedon wrote:

Hi there,

> However, in order to reach S, I need to go though an HTTP server P. This
> means nginx would need to connect to P, issue a CONNECT request, and then
> tunnel the HTTPS request to S.
> Is this supported?


> How to enable it?

Start coding :-)

Right now, nginx proxy_pass speaks http to a http server, or http-over-ssl
to a https server. It doesn't speak proxied-http to a http proxy
server. (Including the CONNECT method of proxied-http.)

So if you want that, you'll need to look outside of current-nginx.

Francis Daly        francis at

More information about the nginx mailing list