Archive for the ‘sysadmin’ Category.

Setting up NGINX SSL reverse proxy for Tomcat

Setting up Tomcat in some cases can be pain in the ass, especially when your application is pretty complex, in terms of large number of upstream servers which you all want to proxy via SSL.

In my case, I was playing around with Shindig — an OpenSocial container, which itself is a Java servlet┬ádelivered┬ávia Apache Tomcat server.

 

 

The goal was to reverse proxy Shindig through SSL, i.e. it should be able to access it via

https://localhost/gadgets/

with localhost being served by Nginx.

Continue reading ‘Setting up NGINX SSL reverse proxy for Tomcat’ »