setting up a virtual host with unicorn, nginx and capistrano in rails
Name your second apps upstream differently (upstream names need to be unique). So instead of unicorn
use i.e. the name @my_shiny_app_server
. Then use this name proxy_pass directive http://my_shiny_app_server
. Replace the my_shiny
string with the name of your app e.g. gutrees
, cf
.