HTTPS reverse proxy with backend

Maxim Dounin mdounin at mdounin.ru
Fri Jun 11 21:24:31 MSD 2010


Hello!

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

> 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

proxy_pass https://...;

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

Maxim Dounin



More information about the nginx mailing list