To simplify you could use:
```ruby
server domain, :app, :web, :db, :primary => true
```