From e5a80aff330d0d4cb3682008103bc6059c7a3ca0 Mon Sep 17 00:00:00 2001 From: jjstyle Date: Wed, 25 Mar 2026 15:52:13 +0900 Subject: [PATCH] =?UTF-8?q?=EC=84=B8=EC=85=98=20=ED=8C=A8=EC=8A=A4=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Config/Session.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/Config/Session.php b/app/Config/Session.php index 1243f93..7b9ee39 100644 --- a/app/Config/Session.php +++ b/app/Config/Session.php @@ -70,10 +70,11 @@ class Session extends BaseConfig // Redis 설정을 환경변수에서 불러오기 if ($this->driver === RedisHandler::class) { - $redisHost = env('REDIS_HOST', '127.0.0.1'); - $redisPort = env('REDIS_PORT', '6379'); - $redisDatabase = env('REDIS_DATABASE', '0'); - $redisPassword = env('REDIS_PASSWORD', ''); + // .env의 redis.default.* 설정을 underscore로 읽기 + $redisHost = env('redis_default_host', '127.0.0.1'); + $redisPort = env('redis_default_port', '6379'); + $redisDatabase = env('SESSION_REDIS_DATABASE', '0'); + $redisPassword = env('redis_default_password', ''); $this->savePath = sprintf( 'tcp://%s:%s?database=%s',