Connection to redis with tls
How can I connect to redis using rediss , I cannot see any option to connect to bullmq like this
const redis = new Redis("rediss://redis.my-service.com");
@Support
5 Replies
@djain#007, you just advanced to level 4!
not sure what you want to do but you can pass Redis instance to the BullMQ so it will use that connection.
To connect using TLS you need to set the env var REDIS_TLS
@Kelvis, you just advanced to level 1!
it works for me when REDIS_TLS={} but you can also send TLS parameters in the JSON value, like "servername", "host" and "port". (You still need to set REDIS_HOST and REDIS_PORT)