HTTPS reverse proxy with backend

Hi all:

Now, we always see the configuration for https reverse proxy, it just
supports the topology like as following:
±---------------------------+
client ----------->--------| reverse proxy:443 |
--------->-------------Web:80
443 ±---------------------------+ ^ 80
The disadvance is that the the webserver only works 80/tcp port if the
reverseproxy is down.

Now, I want to support a topology that if the reverse proxy is down,
WebServer can still provide HTTPS services.

Could you please help tell me how to configure NGINX to support the SSL
link
with WebServer,like that :
±---------------------------+
client ----------->--------| reverse proxy:443 |
--------->-------------Web:443
443 ±---------------------------+ ^
443

thanks
NextHop.

Hello!

On Sat, Jun 12, 2010 at 12:50:14AM +0800, quan nexthop wrote:

Now, I want to support a topology that if the reverse proxy is down,
WebServer can still provide HTTPS services.

Could you please help tell me how to configure NGINX to support the SSL link
with WebServer,like that :
±---------------------------+
client ----------->--------| reverse proxy:443 |
--------->-------------Web:443
443 ±---------------------------+ ^ 443

proxy_pass https://…;

Note well: this will consume extra CPU time on both nginx side and
backend side.

Maxim D.