diff --git a/.platform/nginx/nginx.conf b/.platform/nginx/nginx.conf index d6edbfd..d61eaa3 100644 --- a/.platform/nginx/nginx.conf +++ b/.platform/nginx/nginx.conf @@ -14,6 +14,9 @@ http { include /etc/nginx/mime.types; default_type application/octet-stream; + types_hash_max_size 2048; + types_hash_bucket_size 128; + log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; @@ -25,7 +28,7 @@ http { } upstream node { - server 127.0.0.1:3000; + server 127.0.0.1:8080; keepalive 1024; } diff --git a/index.js b/index.js index d8bda5b..282cff3 100644 --- a/index.js +++ b/index.js @@ -19,7 +19,7 @@ dotenv.config(); // require('dotenv').config(); const app = express(); -app.set('port', process.env.PORT || 3000); +app.set('port', process.env.PORT || 8080); app.get('/', (req, res) => { res.send('환영합니다 핏플 백엔드!'); diff --git a/src/swagger/swagger.config.js b/src/swagger/swagger.config.js index 7d6e188..dd06333 100644 --- a/src/swagger/swagger.config.js +++ b/src/swagger/swagger.config.js @@ -20,7 +20,7 @@ const options = { }, servers: [ { - url: 'http://localhost:3000/', + url: 'http://localhost:8080/', description: 'Local server' }, {