From 0e2e05b16abd8478457437921ad4add0ec7beffd Mon Sep 17 00:00:00 2001 From: alsduq1117 Date: Thu, 26 Oct 2023 14:56:55 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20Nginx=20=ED=81=B4=EB=9D=BC=EC=9D=B4?= =?UTF-8?q?=EC=96=B8=ED=8A=B8=20=EC=9A=94=EC=B2=AD=20=ED=8C=8C=EC=9D=BC=20?= =?UTF-8?q?=EC=B5=9C=EB=8C=80=20=ED=81=AC=EA=B8=B0=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nginx/conf.d/elasticbeanstalk/proxy.conf | 16 ++++++++++++++++ .platform/nginx/conf.d/proxy.conf | 3 --- 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 .platform/nginx/conf.d/elasticbeanstalk/proxy.conf delete mode 100644 .platform/nginx/conf.d/proxy.conf diff --git a/.platform/nginx/conf.d/elasticbeanstalk/proxy.conf b/.platform/nginx/conf.d/elasticbeanstalk/proxy.conf new file mode 100644 index 0000000..5ff2e10 --- /dev/null +++ b/.platform/nginx/conf.d/elasticbeanstalk/proxy.conf @@ -0,0 +1,16 @@ +server { + listen 80 default_server; + access_log /var/log/nginx/access.log main; + + client_max_body_size 20M; + + client_header_timeout 60; + client_body_timeout 60; + keepalive_timeout 60; + gzip off; + gzip_comp_level 4; + gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript; + + # Include the Elastic Beanstalk generated locations + include /etc/nginx/conf.d/elasticbeanstalk/*.conf; +} \ No newline at end of file diff --git a/.platform/nginx/conf.d/proxy.conf b/.platform/nginx/conf.d/proxy.conf deleted file mode 100644 index 872a3bf..0000000 --- a/.platform/nginx/conf.d/proxy.conf +++ /dev/null @@ -1,3 +0,0 @@ -server { - client_max_body_size 20M; -} \ No newline at end of file