From f23128a18470b039157378b6ea818063921f5a45 Mon Sep 17 00:00:00 2001 From: yxhwxn Date: Fri, 16 Aug 2024 21:26:46 +0900 Subject: [PATCH 1/2] =?UTF-8?q?Chore:=20gitignore=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 07fc33f..91d8ad1 100644 --- a/.gitignore +++ b/.gitignore @@ -37,3 +37,5 @@ out/ ### VS Code ### .vscode/ + +app.log From 0fa9a8e1837adc524f1f823ab7fdbbc35a36b227 Mon Sep 17 00:00:00 2001 From: yxhwxn Date: Fri, 16 Aug 2024 21:27:24 +0900 Subject: [PATCH 2/2] =?UTF-8?q?Fix:=20Nginx=20CORS=20=EC=A4=91=EB=B3=B5=20?= =?UTF-8?q?=ED=97=A4=EB=8D=94=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .platform/nginx.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.platform/nginx.conf b/.platform/nginx.conf index 118f133..53d9cc2 100644 --- a/.platform/nginx.conf +++ b/.platform/nginx.conf @@ -36,9 +36,9 @@ http { location / { proxy_pass http://springboot; # CORS 관련 헤더 추가 - add_header 'Access-Control-Allow-Origin' '*'; - add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, DELETE, OPTIONS'; - add_header 'Access-Control-Allow-Headers' 'Authorization, Content-Type'; + # add_header 'Access-Control-Allow-Origin' '*'; + # add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, DELETE, OPTIONS'; + # add_header 'Access-Control-Allow-Headers' 'Authorization, Content-Type'; proxy_http_version 1.1; proxy_set_header Connection $connection_upgrade; proxy_set_header Upgrade $http_upgrade; @@ -62,6 +62,6 @@ http { gzip_comp_level 4; # Include the Elastic Beanstalk generated locations - include conf.d/elasticbeanstalk/healthd.conf; + # include conf.d/elasticbeanstalk/healthd.conf; } }