2007-05-28 13:09:47 +0200
I’ve been using russian technology for about a week now and it works really well with Rails and is easy to set up in general.
However, I needed to modify the generated config file a bit to fit the standard debian file paths and users. So I modified the ERB template which is used to generate the config file. It should be fully backwards compatible, so if you don’t need all of these modifications you could use it and just use the modifications you need. Here’s the template with my modifications
My YAML file looks like this:
- This defines the default roots and alternate roots.
- The name (or key) of your site will be sprintf’d with
- the below root, right.
- All your vhosts.
- I added a special feeds config which generates the
- if ($http_user_agent !~ FeedBurner) line before the actual rewrite
- line. Works fine with Mephisto and, of course Feedburner, YMMV
– ^/feed/atom.xml http://feeds.feedburner.com/hendrikvolkmer
– ^/feed/all_comments.xml http://feeds.feedburner.com/hendrikvolkmer_comments
Also, it’s really easy to compile nginx 0.5.20 for Debian: Just download the source, make the necessary modifications to the current deb file specifications and compile. :)
- There will be no reliable cloud (part 3) - How I stopped worrying and love the cloud
- There will be no reliable cloud (part 2) - Complexity and scale lead to a system design that can only be unreliable at the infrastructure layer
- There will be no reliable cloud (part 1) - Stop wasting your time trying to find one. Stop wasting your time (and money) trying to build one.