Figured a new blog post would be helpful with all the changes lately.
As you’re aware we switched domain names (and servers too!), with that I decided the site and servers should get some updates in.
1) We were running on lighttpd + fastcgi deployment of Ruby on Rails, this was normal back in 2006, fast forward to 2012, and no one does it anymore. So it was decided we use nginx for frontend and unicorn as the glue between the app and webserver.
2) ssl support, lighttpd has/had poor ssl support so I wanted to move off that asap as well.
3) We had some sites hosted using PHP and I wanted to separate them off to different VMs. So thanks to Ac-town too for helping out setting up ganeti which allows us to provision VMs, now I can run PHP sites* that do not interfere with each other.
The move to nginx was problematic due to the fact that our download server had a custom lighttpd module that generated zip files on the fly, nginx has that too but required code changes that quite frankly I wouldn’t know how to implement at all since I’m not a programmer. Luckily (or THANK GOD) edogawaconan decided to modernize our code and had already gotten the zip generation to work with nginx. So I just had to pull in the change and then get nginx complied with the mod_zip plugin.
Then it got complicated, zip downloads just hanged there when ssl was enabled. Turns out it was a cookie problem after many hours of debug (again many thanks to edogawaconan)
So now we have a somewhat modernized stack which can be extendable in the future.
*Want free hosting from me? Leave a comment on how I can contact you and why you think you deserve the hosting and I’ll decide to host it or not.