nginx crowd,<br><br>(For those not interested in serving an iPhone site, feel free to delete this.)<br><br>While recently working on an iPhone website, I found I had some seemingly common requirements but couldn&#39;t find any good write-ups on how to serve such a site with nginx.&nbsp; While it&#39;s of course just a &quot;normal&quot; website, I wanted to redirect iPhone users to an optimized version of the site while still allowing them to get back to the full site if necessary.&nbsp; I also needed to serve two versions of the same page from a mobile-optimized website for the same URL (an iPhone version and a standard mobile version, based on user agent) while allowing each version of the page to be cached independently.<br>
<br>If anyone else has similar needs and would like to learn from my experiences, this has the potential to save you a good day or two of searching/reading/experimenting/puzzling/etc.&nbsp; My write-up is at <a href="http://nicknotfound.com/2009/01/12/iphone-website-with-nginx/">http://nicknotfound.com/2009/01/12/iphone-website-with-nginx/</a><br>
<br>Nick<br>