Daniel, Yes, Capistrano was designed with just this setup in mind. You basically just tell Capistrano that your web server is a "gateway" into your other servers:
set :gateway, "web.server" role :web, "web.server" role :app, "app.server" All connections to the servers specified in the roles will then be made by tunnelling through an ssh connection to the gateway server. - Jamis On May 2, 2007, at 2:24 AM, dweinand wrote: > > Hello, > i have my rails app running on a two server setup. means a webserver > is reachable via web and ssh. on this server apache is running and > proxies the the requests to the application server. > this application server is behind the webserver and not reachable from > the web. on this server my rails app is located. the application > server is only reachable with ssh from the webserver in front. > > at the moment i have to login to the webserver with a ssh shell. from > this shell i connect with ssh to teh app server and deploy my rails > ab. would be great to use capistrano with this setup. possible? > > regards > > Daniel > > > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
