title: How to set up sails app to connect to redis cluster?
body: <p>We were able to set up our sails app to use redis as our session store and socket connection.  But we don't know how to set up sails to connect to a redis cluster, any thoughts/examples available?</p>
  
  <hr>
  
  <p>Just to make it a little more clear, our sails app is already using redis using a config similar to :</p>
  
  <pre><code>host: 'localhost',
  port: 6379,
  ttl: &lt;redis session TTL in seconds&gt;,
  db: 0,
  pass: &lt;redis auth password&gt;
  prefix: 'sess:'
  </code></pre>
  
  <p>But now we want to set it up to use redis cluster, which might be running on various servers and various ports.</p>