From 2724397d8d3fe396d0b2f2da66952cfa684ee726 Mon Sep 17 00:00:00 2001
From: Eunhak Lee <lee@enak.kr>
Date: Sat, 30 Nov 2024 15:18:45 +0900
Subject: [PATCH] =?UTF-8?q?feat:=20nginx=20=EC=97=90=EC=84=9C=20React=20SP?=
 =?UTF-8?q?A=20=EB=A5=BC=20=EC=A0=9C=EB=8C=80=EB=A1=9C=20=EC=A7=80?=
 =?UTF-8?q?=EC=9B=90=ED=95=98=EB=8F=84=EB=A1=9D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 nginx/nginx.conf | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index b60ace4..3d057b0 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -75,6 +75,9 @@ http {
         #client_max_body_sze    1G;
 
 	root /var/www/html/;
+	location / {
+            try_files $uri /index.html;	    
+	}
 
         location /api {
                 proxy_pass_header                       Server;
-- 
GitLab