From 9ff89fa18b23fd6f8b00847fd24e17218a751bc5 Mon Sep 17 00:00:00 2001 From: doomtube Date: Thu, 8 Jan 2026 21:55:26 -0500 Subject: [PATCH] Fix: Add env REDIS_DB directive to nginx.conf Allow Lua workers to access REDIS_DB environment variable. Without this directive, os.getenv("REDIS_DB") returns nil. Co-Authored-By: Claude Opus 4.5 --- openresty/nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/openresty/nginx.conf b/openresty/nginx.conf index e9e6268..298a236 100644 --- a/openresty/nginx.conf +++ b/openresty/nginx.conf @@ -8,6 +8,7 @@ user nobody nogroup; env REDIS_PASS; env REDIS_PORT; env REDIS_HOST; +env REDIS_DB; env JWT_SECRET; events {