Skip to content

Manage Merb Application on different Vhosts served by Nginx using Capistrano

Notifications You must be signed in to change notification settings

alx/nginx_merb_vhost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Manage Merb Application on different Vhosts served by Nginx using Capistrano

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages