From bca24be143b44527e9645585d9d31aff9d9579ab Mon Sep 17 00:00:00 2001 From: Jaybe Date: Wed, 11 Jun 2025 03:42:47 +0900 Subject: [PATCH] =?UTF-8?q?trust=20proxy=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app.js b/backend/app.js index a71ce6e..ee1ca6b 100644 --- a/backend/app.js +++ b/backend/app.js @@ -70,7 +70,7 @@ io.on('connection', (socket) => { // 전역 Socket.IO 인스턴스 설정 app.set('io', io); - +app.set('trust proxy', 1); // 치명적 예외/비동기 에러 글로벌 로그 process.on('uncaughtException', (err) => { console.error('[FATAL] Uncaught Exception:', err);