From 6c7e80eb3e484c348a26b066cddaf46ab1e4fac4 Mon Sep 17 00:00:00 2001 From: chan Date: Wed, 11 Feb 2026 15:33:21 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20Nginx=EC=97=90=EC=84=9C=20.mjs=20?= =?UTF-8?q?=ED=8C=8C=EC=9D=BC=EC=9D=84=20=EC=98=AC=EB=B0=94=EB=A5=B8=20MIM?= =?UTF-8?q?E=20type(application/javascript)=EC=9C=BC=EB=A1=9C=20=EC=84=9C?= =?UTF-8?q?=EB=B9=99=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95=20#23?= =?UTF-8?q?9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gateway/nginx.conf | 3 +++ userfront/nginx.conf | 3 +++ 2 files changed, 6 insertions(+) diff --git a/gateway/nginx.conf b/gateway/nginx.conf index eeb6f234..8101d670 100644 --- a/gateway/nginx.conf +++ b/gateway/nginx.conf @@ -24,6 +24,9 @@ server { client_header_buffer_size 16k; large_client_header_buffers 4 64k; include /etc/nginx/mime.types; + types { + application/javascript mjs; + } resolver 127.0.0.11 valid=10s ipv6=off; set $backend_upstream http://baron_backend:3000; diff --git a/userfront/nginx.conf b/userfront/nginx.conf index 8a4fcffa..ddc43b02 100644 --- a/userfront/nginx.conf +++ b/userfront/nginx.conf @@ -22,6 +22,9 @@ log_format json_combined escape=json server { listen 5000; include /etc/nginx/mime.types; + types { + application/javascript mjs; + } error_log /dev/stderr warn; access_log /var/log/nginx/access.log json_combined;