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: [email protected] [mailto:[email protected]] För sajan tharayil Skickat: den 21 augusti 2013 20:02 Till: [email protected] Ä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 [email protected] http://mailman.nginx.org/mailman/listinfo/nginx _______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
