# HTTPS reverse proxy with backend

**URL:** <https://www.ruby-forum.com/t/https-reverse-proxy-with-backend/190030>\
**Category:** NGINX\
**Created:** [June 11, 2010, 6:51pm UTC](https://www.ruby-forum.com/t/https-reverse-proxy-with-backend/190030 "2010-06-11T18:51:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![quan\_nexthop](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/q/7feea3/32.png) [@quan\_nexthop](https://www.ruby-forum.com/u/quan_nexthop)\
**Post date:** [June 11, 2010, 6:51pm UTC](https://www.ruby-forum.com/t/https-reverse-proxy-with-backend/190030/1 "2010-06-11T18:51:18Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![quan\_nexthop](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/q/7feea3/32.png) [@quan\_nexthop](https://www.ruby-forum.com/u/quan_nexthop)\
**Post date:** [June 11, 2010, 7:25pm UTC](https://www.ruby-forum.com/t/https-reverse-proxy-with-backend/190030/2 "2010-06-11T19:25:14Z")

</div>

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.
