Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Redis itself does not speak TLS but it's common to put a TLS proxy in front of a Redis server. Previously we've been using a client-side proxy to connect to our TLS-enabled ElastiCache cluster. But ioredis supports connecting with TLS natively. There are two ways to opt in: 1. If a connection string is passed to the Redis constructor, using rediss:// rather than redis:// as the scheme enables TLS. 2. Pass a 'tls' option whose value is a (possibly-empty) object of options to pass through to Node's tls.connect() method. Add a new REDIS_TLS environment variable, which can be set to '1' or 'true' to connect with TLS. If set, set the 'tls' option to an empty object to enable TLS. https://phabricator.endlessm.com/T35672
- Loading branch information