Unicorn+Nginx on Red Hat OpenShift

Although I’m completely buried in personal projects right now (cartridges for Ruby 1.9 and Unicorn+Nginx included), I wanted to share my experience of setting up Unicorn and Nginx on OpenShift for anyone who’s interested. This won’t be a massively in-depth post as the setup is actually quite simple if you’ve followed my previous post on Ruby hacking on OpenShift.

I’ve posted a quick README/HowTo on GitHub here which goes into more detail about how to get it set up. This is really just a quick fix for anyone who’s looking to use this combo as their server setup on OpenShift until I can finish my cartridge and send it off to the lovely people at Red Hat.

Good luck – if you have any problems, contact me via Twitter: @xiy