Skip to content

Commit

Permalink
Merge pull request #58 from UMC-FITple/feat/#57_backend_cicd-14
Browse files Browse the repository at this point in the history
CI/CD 파이프라인 수정-14
  • Loading branch information
seoyeoneel02 authored Aug 16, 2024
2 parents 8db5f92 + 9638426 commit 5ebb565
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .platform/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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"';
Expand All @@ -25,7 +28,7 @@ http {
}

upstream node {
server 127.0.0.1:3000;
server 127.0.0.1:8080;
keepalive 1024;
}

Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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('환영합니다 핏플 백엔드!');
Expand Down
2 changes: 1 addition & 1 deletion src/swagger/swagger.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const options = {
},
servers: [
{
url: 'http://localhost:3000/',
url: 'http://localhost:8080/',
description: 'Local server'
},
{
Expand Down

0 comments on commit 5ebb565

Please sign in to comment.