Am 12.05.2008 um 23:11 schrieb Jochen Kaechelin:

>
>
> Am 12.05.2008 um 22:57 schrieb [EMAIL PROTECTED]:
>
>>
>> I think what you want is:
>>
>> role :web, "ip_of_nginx_server"
>> role :app, "ip_of_mongrel_server1", "ip_of_mongrel_server2"
>> role :db, "ip_of_mongrel_server1", :primary => true
>>

>
> you mean:
>
> role :web, "ip_of_nginx_server"
> role :app, "ip_of_mongrel_server1", "ip_of_mongrel_server2"
> role :db,  "ip_of_mysql_server", :primary => true
>
> ??
>
>> web = the server that should serve the /public director
>> app = the server that runs the rails application
>> db = the server that runs rake db:migrate
>>

So I do not have to define the nginx host?
the /public directory is on both mongrel servers and rails
is running on them both, too.

The nginx machine is "only" proxying the requests to the mongrel.

Mhhh....

-- 
Jochen


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to