multistage and vhost
|
|
I am trying to setup a staging subdomain for my rails app. The :rails_env, :domain and :domain_aliases are all set in the deploy config files. I ran the deploy:setup and deploy:web:restart recipes as described in the wiki. But this only sets one Apache vhost, with the DocumentRoot pointing to the current production deployment. If I run “cap staging deploy:setup”, the unique vhost is overwritten and the production deploy becomes inaccessible (obviously). What am I missing? Is there a standard deployment recipe or variable to generate a second vhost for the staging domain name? |