Nginx selective forwarding to tomcat

Nginx selective forwarding I encountered a situation today where Nginx had to forward all requests to tomcat except couple of URL’s which will be served by static content located inside Nginx root folder. This is what I did:   server { server_name...

Grails Logical Delete Plugin

I was looking at recently updated plugins and got to know about grails Logical Delete Plugin. The name in itself was very interesting and i thought i should give it a shot. You can find the sample project here. Please checkout working demo of code on heroku by...

Hosting multiple websites on Nginx

This post is an extension to my previous post on Nginx where we learned how to set up SSL on Nginx and forward connections to tomcat which was running on 8080. This time we need to host another website on this same server let’s see how we can get it done. FYI i...

SSL on Nginx

Last week i was installing SSL certificate on an Nginx server which was acting as front-end for tomcat and the basic set up was that our Grails WAR file was deployed in tomcat which was running on port 8080 and Nginx server was running on port 80. We ordered SSL...

Redirect apache to tomcat using mod_proxy

Whenever i configure a new server i usually end up searching for this problem. How to redirect apache to tomcat ? There are various solutions out there but for now i am going to talk to about the easy one. Here are the steps : Assumption : It is assumed that you have...