Welcome! Log In Create A New Profile

Advanced

SV: Nginx as Reverse Proxy for Tomcat + SSL

Jens Rantil
August 22, 2013 07:54AM
Hi Sajan,

I see. nginx supports serving https content. Documentation is here: http://nginx.org/en/docs/http/ngx_http_ssl_module.html

nginx also supports proxying to upstream servers that are using SSL/https:
http://stackoverflow.com/questions/15394904/nginx-load-balance-with-upstream-ssl

What you'd like to do is possible.

Good luck,
Jens

-----Ursprungligt meddelande-----
Från: nginx-bounces@nginx.org [mailto:nginx-bounces@nginx.org] För sajan tharayil
Skickat: den 21 augusti 2013 20:02
Till: nginx@nginx.org
Ämne: Re: Nginx as Reverse Proxy for Tomcat + SSL

Hi Jens,

I will explain you my need. I need an end to en encryption for my client server communication.

Client ->nginx/haproxy - https
nginx/haprody -> tomcat - https

So one way to do this is a layer 4 load balancing at nginx/haproxy layer.

But What I am trying to do is to do a layer 7 encryption itself. So the first ssl offloading will happen at the nginx/haproxy level. Then it will be again encrypted and send to the underlaying tomcat. Then tomcat will offload ssl again.

The reason for this is, I am creating my stack in amazon and we do not want any kind of plane communication happening in amazon network.


So I am not really sure about the configuration which I can do on nginx
which will do the following:

1. Off load the ssl for the requests coming from client (users) - This
configuration is simple enough
2. encrypt the communication again and send to underlaying tomcats


Can I have an SSL from Client to Nginx and another between Nginx and
Tomcat?

so it will be like
Kind Regards
Sajan

--
Posted via http://www.ruby-forum.com/.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx


_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx as Reverse Proxy for Tomcat + SSL

himesh November 19, 2009 06:02AM

Re: Nginx as Reverse Proxy for Tomcat + SSL

Maxim Dounin November 19, 2009 06:32AM

Re: Nginx as Reverse Proxy for Tomcat + SSL

himesh November 19, 2009 06:50AM

Re: Nginx as Reverse Proxy for Tomcat + SSL

Maxim Dounin November 19, 2009 07:04AM

Re: Nginx as Reverse Proxy for Tomcat + SSL

sajan tharayil August 21, 2013 07:06AM

SV: Nginx as Reverse Proxy for Tomcat + SSL

Jens Rantil August 21, 2013 07:50AM

Re: Nginx as Reverse Proxy for Tomcat + SSL

unclepieman August 27, 2013 01:24AM

Re: Nginx as Reverse Proxy for Tomcat + SSL

sajan tharayil August 21, 2013 02:04PM

SV: Nginx as Reverse Proxy for Tomcat + SSL

Jens Rantil August 22, 2013 07:54AM

Re: Nginx as Reverse Proxy for Tomcat + SSL

sajan tharayil August 23, 2013 12:04AM

Re: Nginx as Reverse Proxy for Tomcat + SSL

dt0x August 27, 2013 01:11AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 301
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready