From 84833612ee3eb5373f6c189f3eb566074edad9e9 Mon Sep 17 00:00:00 2001 From: Lectom C Han Date: Thu, 12 Feb 2026 08:52:58 +0900 Subject: [PATCH] =?UTF-8?q?MIME=20=ED=83=80=EC=9E=85=20=EC=B6=94=EA=B0=80,?= =?UTF-8?q?=20wasm=20mjs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/staging_code_pull.yml | 3 +++ userfront/nginx.conf | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/.gitea/workflows/staging_code_pull.yml b/.gitea/workflows/staging_code_pull.yml index c658fd95..c9387d9d 100644 --- a/.gitea/workflows/staging_code_pull.yml +++ b/.gitea/workflows/staging_code_pull.yml @@ -157,6 +157,9 @@ jobs: # [주의] DB 초기화 스크립트는 '새로운 볼륨'에서만 실행됨. docker compose -f staging_pull_compose.yaml down || true + # 코드 변경 반영을 위해 build 수행 (userfront nginx.conf 등) + docker compose -f staging_pull_compose.yaml build --pull + docker compose -f staging_pull_compose.yaml up -d --remove-orphans # 배포 후 상태 확인 (실패 시 로그 출력을 위함) diff --git a/userfront/nginx.conf b/userfront/nginx.conf index 8a4fcffa..cf6d3780 100644 --- a/userfront/nginx.conf +++ b/userfront/nginx.conf @@ -22,6 +22,10 @@ log_format json_combined escape=json server { listen 5000; include /etc/nginx/mime.types; + types { + application/javascript mjs; + application/wasm wasm; + } error_log /dev/stderr warn; access_log /var/log/nginx/access.log json_combined;