Improved nginx.conf for Ruby On Rails

Redd Vinylene reddvinylene at gmail.com
Mon Oct 6 21:32:25 MSD 2008


On Mon, Oct 6, 2008 at 7:07 PM, W. Andrew Loe III <andrew at andrewloe.com> wrote:
> http://gist.github.com/15078
>
> Special tweaks include enabling the first request of rails cached
> stylesheets to be served by the mongrel, but all future requests
> served by the web server. Far Futures expires. Support for 503'ing and
> displaying a maintenance page.
>
> A lot of this was taken from Ezra Zygmuntowicz's post last year.
> http://brainspl.at/articles/2007/01/03/new-nginx-conf-with-optimizations
>

http://brainspl.at/nginx.conf.txt is pretty much the same as
http://wiki.codemongers.com/NginxRubyonRailsMongrel. The whole point
of an improved nginx.conf would be to get rid of those ifs (bad
practice from what I hear) and all the other stuff we don't need.
Perfection is achieved, not when there's nothing left to add, but when
there's nothing left to take away.

-- 
http://www.home.no/reddvinylene





More information about the nginx mailing list