Improved nginx.conf for Ruby On Rails

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

On Mon, Oct 6, 2008 at 7:07 PM, W. Andrew Loe III <andrew at> wrote:
> 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.
> is pretty much the same as 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.


More information about the nginx mailing list