Using Capistrano to deploy a Rails application to multiple web servers

后端 未结 3 742
日久生厌
日久生厌 2020-12-14 02:21

I\'m currently setting up a new production environment for a Rails application which includes multiple, load-balanced application servers (currently only two, but this will

3条回答
  •  眼角桃花
    2020-12-14 03:16

    This is what I have tried in rails 4:

    config/deploy.rb:

    role :app, %w{server1 server2 server3}
    

提交回复
热议问题