From d3efdca692ad608da4c8346dd118a2c05d6e982e Mon Sep 17 00:00:00 2001 From: J-hoplin1 Date: Tue, 16 Jan 2024 02:04:46 +0900 Subject: [PATCH] Feat: Add nginx conf --- .platform/nginx/conf.d/base.conf | 7 +++++++ .platform/nginx/conf.d/timeout.conf | 1 + 2 files changed, 8 insertions(+) create mode 100644 .platform/nginx/conf.d/base.conf create mode 100644 .platform/nginx/conf.d/timeout.conf diff --git a/.platform/nginx/conf.d/base.conf b/.platform/nginx/conf.d/base.conf new file mode 100644 index 0000000..695d2a6 --- /dev/null +++ b/.platform/nginx/conf.d/base.conf @@ -0,0 +1,7 @@ +server { + listen 80; + + location / { + proxy_pass http://127.0.0.1:3000; + } +} diff --git a/.platform/nginx/conf.d/timeout.conf b/.platform/nginx/conf.d/timeout.conf new file mode 100644 index 0000000..851fb94 --- /dev/null +++ b/.platform/nginx/conf.d/timeout.conf @@ -0,0 +1 @@ +keepalive_timeout 120; \ No newline at end of file