Nick not found

Articles filed in Nginx

« Back to all articles

Using xip.io for Local and Staging Environments

Mar 25 2013

One of the Rails apps I work on is at its core a multi-site content management system. I have the need to test locally and in a staging environment using production data. Using curl -H "Host: www.example.com only gets you so far, and when you need to test in a browser, that's not going to cut it.

Continue reading »

Serving an iPhone website with nginx

Jan 12 2009

I've been thinking for a while about the best way to automatically take iPhone and iPod touch users to an iPhone-enhanced version of a website when they first access it rather than requiring the users to know the iPhone-specific URL beforehand. This was the main requirement, but there were a few others. These are the problems I needed to solve:

Continue reading »

© 2017 nicknotfound.com