public
Description: Manage Merb Application on different Vhosts served by Nginx using Capistrano
Homepage: http://alexgirard.com
Clone URL: git://github.com/alx/nginx_merb_vhost.git
alx (author)
Fri Jan 16 12:18:10 -0800 2009
commit  f05b749dc884f207dd65de31425f85f4d42afcf5
tree    b585df272172e6a126a981a12be1ad99e8c45728
parent  3bff0b570260b99a10146dc647df83fd702bb429
name age message
file Capfile Fri Jan 16 11:46:49 -0800 2009 first commit [alx]
file README Fri Jan 16 12:18:10 -0800 2009 add nginx template [alx]
directory config/ Fri Jan 16 12:18:10 -0800 2009 add nginx template [alx]
file nginx.template Fri Jan 16 12:18:10 -0800 2009 add nginx template [alx]
README
If you ever need to use Capistrano 2 with virtual hosts on Nginx this article may save you some time by automating the 
process.

The article assumes that for each vhost you want to define a nginx configuration file which gets placed in 
/etc/nginx/sites-available/ and symlinked to sites-enabled. If you just want one big nginx file with all your vhosts in 
it, then this article won’t help!

What we want is for Capistrano to auto generate the nginx configuration using a shared configuration template and place 
it on the server. E.g.

Original Idea: http://www.subreview.com/articles/6