Merge pull request #399 from dadosfera/fix/redis-tls-configurable

fix: make Redis TLS configurable via REDIS_TLS env var
This commit is contained in:
Rafael Santana
2025-12-02 15:18:05 -03:00
committed by GitHub
4 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ import { redisStore } from 'cache-manager-ioredis-yet';
keyPrefix: 'maestro:sso',
}
if (process.env.ENV !== 'local') {
if (process.env.REDIS_TLS === 'true') {
baseRedisConfig['tls'] = {
servername: process.env.REDIS_HOST,
}