# Load balance and re-encrypt ssl

**URL:** <https://www.ruby-forum.com/t/load-balance-and-re-encrypt-ssl/211830>\
**Category:** NGINX\
**Created:** [September 14, 2011, 3:58pm UTC](https://www.ruby-forum.com/t/load-balance-and-re-encrypt-ssl/211830 "2011-09-14T15:58:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [September 14, 2011, 3:58pm UTC](https://www.ruby-forum.com/t/load-balance-and-re-encrypt-ssl/211830/1 "2011-09-14T15:58:34Z")

</div>

Hi all,

I have been looking through the docs and have found that nginx will load  
balance ssl if the cert is setup correctly. Is there an option to have  
it re-encrypt before sending to the web servers? What have others done  
to encrypt the traffic to their webservers (if not through nginx)? I  
will be load balancing in front of IIS.

Decrypting and sending to the webservers in plain text is not an option  
in my mind.

Thanks in advance.

-Andy

This communication, its contents and any file attachments transmitted  
with it are intended solely for the addressee(s) and may contain  
confidential proprietary information.  
Access by any other party without the express written permission of the  
sender is STRICTLY PROHIBITED.  
If you have received this communication in error you may not copy,  
distribute or use the contents, attachments or information in any way.  
Please destroy it and contact the sender.

---

<div class="post-metadata">

**Author:** ![Andrew\_Hester](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b9bd4f/32.png) [@Andrew\_Hester](https://www.ruby-forum.com/u/Andrew_Hester)\
**Post date:** [September 14, 2011, 4:13pm UTC](https://www.ruby-forum.com/t/load-balance-and-re-encrypt-ssl/211830/2 "2011-09-14T16:13:26Z")

</div>

Hello!

On Wed, Sep 14, 2011 at 08:55:07AM -0500, Andrew Hester wrote:

> I have been looking through the docs and have found that nginx  
> will load balance ssl if the cert is setup correctly. Is there  
> an option to have it re-encrypt before sending to the web  
> servers? What have others done to encrypt the traffic to their  
> webservers (if not through nginx)? I will be load balancing in  
> front of IIS.
> 
> Decrypting and sending to the webservers in plain text is not an  
> option in my mind.

proxy\_pass https://…

Maxim D.

---

<div class="post-metadata">

**Author:** ![Andrew\_Hester](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b9bd4f/32.png) [@Andrew\_Hester](https://www.ruby-forum.com/u/Andrew_Hester)\
**Post date:** [September 14, 2011, 4:26pm UTC](https://www.ruby-forum.com/t/load-balance-and-re-encrypt-ssl/211830/3 "2011-09-14T16:26:24Z")

</div>

I guess I assumed that this would just pass this through at the tcp  
level. Thanks for the help!

-Andy
