From 331d242ac3591261a19460ff31f625dd52849da8 Mon Sep 17 00:00:00 2001 From: leejisun9 Date: Tue, 19 Aug 2025 08:54:31 +0900 Subject: [PATCH] =?UTF-8?q?erd=20=EB=AC=B8=EA=B0=80=20=EC=B6=94=EA=B0=80,?= =?UTF-8?q?=20nginx=20=EC=97=90=EB=9F=AC=20=EB=A1=9C=EA=B7=B8=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .erd | 4 ++-- nginx-1.28.0/conf/nginx.conf | 10 +++++++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.erd b/.erd index 54d1432..7692d96 100644 --- a/.erd +++ b/.erd @@ -4,8 +4,8 @@ "settings": { "width": 2800, "height": 2800, - "scrollTop": -1200, - "scrollLeft": -1098.5144, + "scrollTop": -202, + "scrollLeft": -1026.5803, "zoomLevel": 0.82, "show": 431, "database": 16, diff --git a/nginx-1.28.0/conf/nginx.conf b/nginx-1.28.0/conf/nginx.conf index 571f16a..8f5f230 100644 --- a/nginx-1.28.0/conf/nginx.conf +++ b/nginx-1.28.0/conf/nginx.conf @@ -8,7 +8,15 @@ events { # HTTP 블록은 웹 서버의 동작을 정의합니다. http { # MIME 타입 파일을 포함하여 파일 확장자에 따라 콘텐츠 타입을 결정합니다. - include /etc/nginx/mime.types; + include mime.types; + error_log logs/error.log warn; + + # <<< 여기서 log_format 'main'을 정의 >>> + log_format main '$remote_addr - $remote_user [$time_local] "$request" ' + '$status $body_bytes_sent "$http_referer" ' + '"$http_user_agent" "$http_x_forwarded_for"'; + # 위에서 정의한 'main'을 사용 + access_log logs/access.log main; # 기본 서버 설정을 정의합니다. server {