N
Novu10mo ago
djain#007

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
Novu_Bot
Novu_Bot10mo ago
@djain#007, you just advanced to level 4!
mdd
mdd10mo ago
not sure what you want to do but you can pass Redis instance to the BullMQ so it will use that connection.
Kelvis
Kelvis10mo ago
To connect using TLS you need to set the env var REDIS_TLS
Novu_Bot
Novu_Bot10mo ago
@Kelvis, you just advanced to level 1!
Kelvis
Kelvis10mo ago
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)
Want results from more Discord servers?
Add your server