nginx as fwd-proxy to an https server

Gelonida N gelonida at
Mon Mar 19 22:28:09 UTC 2012

If I understood well, the 'normal' setup is to
let the client talk via https to nginx and to have all servers
behind nginx talk plain http.

web client --https--> nginx --http--> another server

However I have one setup, where I'd like to have an encrypted
communication between  nginx and one of the other servers (which cannot
be reached directly by the web client)

web client --https--> nginx --https--> another server

Nginx may be able to intercept (decrypt) the request (no security issue
for the given setup), but it would also be fine if nginx wouldn't be
able to decrypt the communication.

The remote server is also running nginx, but has however another

Any suggestions / recommendations for such a setup?

More information about the nginx mailing list