Nginx as Reverse Proxy for Tomcat + SSL

Maxim Dounin mdounin at mdounin.ru
Thu Nov 19 14:27:08 MSK 2009


Hello!

On Thu, Nov 19, 2009 at 06:02:20AM -0500, himesh wrote:

> Hey guys,
> 
> I am totally new to Nginx, I need some advice with my reverse proxy setup.
> 
>   This is what i am trying to set up.      Client<========>| Nginx (reverse proxy)|<========>Tomcat         It has to be secure i.e SSL , a must.          
> 
> My questions are 
> 1) Can I have the SSL connection between the client and Nginx ( ssl terminating at nginx) and then unencrypted from Nginx to Tomcat.

Yes.

> 2) Can I have SSL communication between the Client and Tomcat, throught Nginx ( using the certificate in Tomcat, none in Nginx )

No.

> 3) Can I have an SSL from Client to Nginx and another between Nginx and Tomcat .

Yes.

Maxim Dounin





More information about the nginx mailing list