Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI/CD 파이프라인 수정-14 #58

Merged
merged 1 commit into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading