<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>NotRocketSurgery: nginx, Yet Another Rails Deployment Option</title>
    <link>http://notrocketsurgery.com/articles/2006/08/27/nginx-yet-another-rails-deployment-option</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Relax.</description>
    <item>
      <title>nginx, Yet Another Rails Deployment Option</title>
      <description>&lt;p&gt;This article &lt;a href="http://rubyjudo.com/2006/8/27/nginx-yet-another-rails-deployment-option"&gt;has moved&lt;/a&gt; over to our sister spin-off blog, &lt;a href="http://rubyjudo.com"&gt;RubyJudo&lt;/a&gt;, which focuses on more arcane technical topics than NotRocketSurgery.&lt;/p&gt;</description>
      <pubDate>Sun, 27 Aug 2006 23:13:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:6495ec88-7c88-4c13-92f8-a38c8cd7a7f3</guid>
      <author>kit</author>
      <link>http://notrocketsurgery.com/articles/2006/08/27/nginx-yet-another-rails-deployment-option</link>
      <category>nginx</category>
      <category>mongrel</category>
      <category>mongrel_cluster</category>
      <category>rails</category>
      <enclosure length="3481" type="text/plain" url="http://notrocketsurgery.com/files/nginx.conf"/>
    </item>
    <item>
      <title>"nginx, Yet Another Rails Deployment Option" by JD</title>
      <description>&lt;p&gt;I&amp;#8217;ve now been using nginx in production since October (as announced in &lt;a href="http://notrocketsurgery.com/articles/2006/11/02/ngnix-ssl-rails" rel="nofollow"&gt;nginx + ssl + rails&lt;/a&gt;) and am very happy with its stability and features. But, that does not mean that lighttpd has dropped off my horizon. For one, lighttpd-1.5.0&amp;#8217;s mod_proxy_core has more advanced load balancing techniques than nginx&amp;#8217;s simple round-robin technique (you&amp;#8217;ll have to dig through the lighttpd blog to find the details). I also find lighttpd&amp;#8217;s automatic spawn-fcgi ability convenient for using PHP (e.g., for phpMyAdmin).  As far as Rails, if Igor were to implement a more advanced mod_proxy module I think you would be completely right.&lt;/p&gt;</description>
      <pubDate>Fri, 04 May 2007 20:13:33 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:0bef47fa-7718-448d-a6f2-b7678fe38d26</guid>
      <link>http://notrocketsurgery.com/articles/2006/08/27/nginx-yet-another-rails-deployment-option#comment-191</link>
    </item>
    <item>
      <title>"nginx, Yet Another Rails Deployment Option" by Dan</title>
      <description>&lt;p&gt;It&amp;#8217;s been 8 months since this post was made, and in the comments they said it would be 3-7 weeks for a new LightTPD; and 1.5 still isn&amp;#8217;t here yet.&lt;/p&gt;


	&lt;p&gt;If you&amp;#8217;re holding off to try Nginx, trust me, don&amp;#8217;t.  Its stable, and developing at a pace that is much quicker than LightTPD.&lt;/p&gt;


	&lt;p&gt;I predict that within a year or so, LightTPD won&amp;#8217;t even be on the map when talking about Rails deployment; or it will be placed intothe same category that Apache and FCGI are in now.&lt;/p&gt;</description>
      <pubDate>Fri, 04 May 2007 01:25:04 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:23b499e3-bf6c-41b8-8d25-29db65dd8e52</guid>
      <link>http://notrocketsurgery.com/articles/2006/08/27/nginx-yet-another-rails-deployment-option#comment-189</link>
    </item>
    <item>
      <title>"nginx, Yet Another Rails Deployment Option" by todd</title>
      <description>&lt;p&gt;to get nginx running at boot on gentoo, do:&lt;/p&gt;


	&lt;p&gt;rc-update -a nginx default&lt;/p&gt;</description>
      <pubDate>Mon, 12 Mar 2007 15:02:53 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:c7ffb8e4-a648-4607-9048-c78a13767721</guid>
      <link>http://notrocketsurgery.com/articles/2006/08/27/nginx-yet-another-rails-deployment-option#comment-158</link>
    </item>
    <item>
      <title>"nginx, Yet Another Rails Deployment Option" by Yar</title>
      <description>&lt;p&gt;Dor Kalev: I cannot open your page now, but the guess is that HTC files are prevented from showing by the same configuration directive that hides .htaccess .htpassword etc. Inspect your config file closely.&lt;/p&gt;</description>
      <pubDate>Mon, 05 Feb 2007 19:24:04 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:ac8f7239-f6f2-419d-bf3a-1dd199bbd9f2</guid>
      <link>http://notrocketsurgery.com/articles/2006/08/27/nginx-yet-another-rails-deployment-option#comment-138</link>
    </item>
    <item>
      <title>"nginx, Yet Another Rails Deployment Option" by Dor Kalev</title>
      <description>&lt;p&gt;Hi,
I also use mongrel+nginx in the same way you do.
I have a problem now that cracks my mind -
HTC files.&lt;/p&gt;


	&lt;p&gt;Mongrel shows the menu on mouse over on INTERNET EXPLORER @
&lt;a href="http://maoz.octava.co.il:3000/x/test.html" rel="nofollow"&gt;http://maoz.octava.co.il:3000/x/test.html&lt;/a&gt;
While when going through Nginx to the Mongrel @
&lt;a href="http://maoz.octava.co.il/x/test.html" rel="nofollow"&gt;http://maoz.octava.co.il/x/test.html&lt;/a&gt; 
it doesn&amp;#8217;t&lt;/p&gt;


	&lt;p&gt;both mongrel &amp;#38; ngnix are configured to support &amp;#8221;.htc&amp;#8221;s
nginx even comes HTC ready from the beginning.&lt;/p&gt;


	&lt;p&gt;any idea?&lt;/p&gt;</description>
      <pubDate>Tue, 28 Nov 2006 11:49:51 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:f5d76610-54c7-4eb3-ac31-390a8dbfef5b</guid>
      <link>http://notrocketsurgery.com/articles/2006/08/27/nginx-yet-another-rails-deployment-option#comment-112</link>
    </item>
    <item>
      <title>"nginx, Yet Another Rails Deployment Option" by ben</title>
      <description>&lt;p&gt;This looks like a worthy front-end for mongrel clusters. I had a quick play and it worked perfectly for my rails apps, however I also require proxying to apache for a number of domains. Currently I have a &amp;#8216;catch all&amp;#8217; virtual host with Pound (UrlGroup &amp;#8221;.*&amp;#8221;) &amp;#8211; is it possible to do the same with nginx?&lt;/p&gt;</description>
      <pubDate>Thu, 23 Nov 2006 16:03:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:0ae7ba92-7d15-41b5-9866-14d067caec16</guid>
      <link>http://notrocketsurgery.com/articles/2006/08/27/nginx-yet-another-rails-deployment-option#comment-107</link>
    </item>
    <item>
      <title>"nginx, Yet Another Rails Deployment Option" by JD</title>
      <description>&lt;p&gt;I am beginning to agree with Cliff&amp;#8230; we should be seeing mod_proxy improvements and fixes first. I am becoming very itchy for a 1.5.0 release, and unless it is delivered soon, I will have to see about using A2 or nginx. I haven&amp;#8217;t seen the memory problems that Cliff experiences and I don&amp;#8217;t use nested conditionals, but the &amp;#8220;fair&amp;#8221; proxy mode does not work well enough for large deployments.&lt;/p&gt;</description>
      <pubDate>Wed, 20 Sep 2006 10:56:43 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:3dec99c6-cfb3-4334-8987-d6dca830cebd</guid>
      <link>http://notrocketsurgery.com/articles/2006/08/27/nginx-yet-another-rails-deployment-option#comment-62</link>
    </item>
    <item>
      <title>"nginx, Yet Another Rails Deployment Option" by Cliff Wells</title>
      <description>&lt;p&gt;@kit&lt;/p&gt;


	&lt;p&gt;My complaint isn&amp;#8217;t about Lighty supporting Rails, it&amp;#8217;s about not supporting everything else (i.e. not leaking memory like mad as a reverse proxy, not having broken configuration parser, etc).  This has &lt;strong&gt;nothing&lt;/strong&gt; to do with Mongrel.  The reverse proxy leaking megabytes of memory every hour may not have been critical outside the Rails world, but there&amp;#8217;s more to the world than Rails you know ;-)&lt;/p&gt;


	&lt;p&gt;My point is simply that adding new features while critical bugs sit in Trac for months isn&amp;#8217;t a recipe for success (well, unless you&amp;#8217;re Microsoft&amp;#8230; but that&amp;#8217;s probably why they don&amp;#8217;t use Trac ).&lt;/p&gt;


	&lt;p&gt;Also, before anyone says anything about helping out: I actually did try to get in and fix some of the bugs that were causing me issues and the state of the source code wasn&amp;#8217;t reassuring either.  I&amp;#8217;m not exactly new to C programming (although I don&amp;#8217;t do it much anymore) and I couldn&amp;#8217;t wade through the mess in there.&lt;/p&gt;


	&lt;p&gt;Anyway, that aside, if anyone is still interested in Nginx, we&amp;#8217;ve got a new wiki going over at:&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://wiki.codemongers.com/Nginx" rel="nofollow"&gt;http://wiki.codemongers.com/Nginx&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;Most (perhaps 70%) of the Russian docs have been translated (although I can&amp;#8217;t swear to the accuracy of some of them ;-)&lt;/p&gt;


	&lt;p&gt;There&amp;#8217;s also some deployment tips, example configurations for Mongrel, etc.&lt;/p&gt;


	&lt;p&gt;Sorry to make this more of a negative statement about Lighty rather than a positive one about Nginx, but I can&amp;#8217;t deny I&amp;#8217;m pretty unhappy with the whole affair.  Over the last several months I&amp;#8217;ve gone from being a Lighty evangelist to my current state of recommending people avoid it like the plague.&lt;/p&gt;</description>
      <pubDate>Mon, 18 Sep 2006 01:32:43 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:76842617-29ac-4c26-aa55-f6bc4394c309</guid>
      <link>http://notrocketsurgery.com/articles/2006/08/27/nginx-yet-another-rails-deployment-option#comment-60</link>
    </item>
    <item>
      <title>"nginx, Yet Another Rails Deployment Option" by kit</title>
      <description>&lt;p&gt;@Cliff: I&amp;#8217;d love to hear how long ago you started this migration.  Any facts, figures, or general info you might have on how nginx works in a production environment would be very helpful to the community at large.&lt;/p&gt;


	&lt;p&gt;Also, Jan is doing a great job with Lighty.&lt;/p&gt;


	&lt;p&gt;How could he have predicted Mongrel&amp;#8217;s release and fixed all the bugs in the reverse proxy server, which was, prior to Mongrel, not a critical feature as far as most people were concerned?&lt;/p&gt;


	&lt;p&gt;Rails deployment is changing at a pace no developer could keep up with.  I don&amp;#8217;t think Jan is to blame for not being able to predict our needs.&lt;/p&gt;</description>
      <pubDate>Thu, 31 Aug 2006 00:42:16 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:f489ab5b-2cf0-4650-a107-4282663bacb3</guid>
      <link>http://notrocketsurgery.com/articles/2006/08/27/nginx-yet-another-rails-deployment-option#comment-51</link>
    </item>
    <item>
      <title>"nginx, Yet Another Rails Deployment Option" by cliff@develix.com</title>
      <description>&lt;p&gt;The last year on Lighty has pretty much convinced me to find something else.  If I hadn&amp;#8217;t come upon Nginx I would have probably been forced back to Apache.&lt;/p&gt;


	&lt;p&gt;Jan&amp;#8217;s a busy guy and I appreciate his work but he seems to have priorities a bit backward: features get added before critical bugs get fixed (reverse proxy leaks megs of memory an hour under load, nested conditionals &lt;strong&gt;still&lt;/strong&gt; don&amp;#8217;t work consistently) meanwhile we get improved Mongrel support, mod_download_status is back&amp;#8230;&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;ve already started the migration to Nginx (about a dozen sites converted already) and it&amp;#8217;s a breath of fresh air.
Configuration is so sane you can pretty much figure it out from looking at the Russian docs, it&amp;#8217;s &lt;strong&gt;fast&lt;/strong&gt;, has the right mix of features and most importantly, the features it has appear to work properly.&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;ll probably be done migrating the rest of our servers in a week or so and I don&amp;#8217;t expect we&amp;#8217;ll go back to Lighty any time soon. Er, not &amp;#8220;soon&amp;#8221;, I meant &amp;#8220;ever&amp;#8221;.&lt;/p&gt;</description>
      <pubDate>Wed, 30 Aug 2006 12:10:43 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:21f64b79-82a7-4826-9440-e802c6cdc55a</guid>
      <link>http://notrocketsurgery.com/articles/2006/08/27/nginx-yet-another-rails-deployment-option#comment-49</link>
    </item>
    <item>
      <title>"nginx, Yet Another Rails Deployment Option" by JD</title>
      <description>&lt;p&gt;If you haven&amp;#8217;t already figured it out, I am a lightyholic. Rumors of other HTTP servers are mere myths. As far as nginx, I&amp;#8217;m not too inclined to learn another program&amp;#8217;s configuration schemes and idiosyncrasies, but to each his own. Ah well&amp;#8230; I look forward to everyone re-embracing lighttpd when 1.5.0 is released. :)&lt;/p&gt;</description>
      <pubDate>Mon, 28 Aug 2006 22:42:54 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:69614323-c4d2-4e8a-b24b-690639b3a5f5</guid>
      <link>http://notrocketsurgery.com/articles/2006/08/27/nginx-yet-another-rails-deployment-option#comment-47</link>
    </item>
    <item>
      <title>"nginx, Yet Another Rails Deployment Option" by kit</title>
      <description>&lt;p&gt;I can&amp;#8217;t wait to see it, Alexey.  Rails deployment is getting easier and easier, thankfully.&lt;/p&gt;</description>
      <pubDate>Sun, 27 Aug 2006 23:29:02 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:c2a91dc2-132b-4366-8a64-0f390e6e680a</guid>
      <link>http://notrocketsurgery.com/articles/2006/08/27/nginx-yet-another-rails-deployment-option#comment-45</link>
    </item>
    <item>
      <title>"nginx, Yet Another Rails Deployment Option" by Alexey Kovyrin</title>
      <description>&lt;p&gt;If you want, visit my blog in next wef days. I will post there really comprehensive rails deployment schemes information.&lt;/p&gt;</description>
      <pubDate>Sun, 27 Aug 2006 23:16:45 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:94020c8b-1ce0-4a3a-ae28-9df67f6804de</guid>
      <link>http://notrocketsurgery.com/articles/2006/08/27/nginx-yet-another-rails-deployment-option#comment-44</link>
    </item>
  </channel>
</rss>
