Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(config): say NODE_EXTRA_CA_CERTS cannot come from .env

Yudhi Armyndharis4177bde8467f
diff --git a/src/config/redis-options.ts b/src/config/redis-options.ts
index 482137591..3757ad48d 100644
--- a/src/config/redis-options.ts
+++ b/src/config/redis-options.ts
@@ -21,7 +21,8 @@ export interface RedisConnectionOptions {
* Reads process.env directly, not ConfigService: the @Processor decorators and the WebSocket adapter
* evaluate it before the DI container exists. load-env has already merged .env and
* data/.env.generated by then. REDIS_TLS=true connects over TLS with Node's default CA store (add a
- * private CA with NODE_EXTRA_CA_CERTS).
+ * private CA with NODE_EXTRA_CA_CERTS in the launch environment; Node reads it only at startup, so
+ * .env cannot supply it).
*/
export function redisConnectionOptions(): RedisConnectionOptions {
return {