Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/deploy-ec2-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
ec2-production-deploy:
runs-on: ubuntu-latest
env:
APP_DOMAIN: new-project-final.link
APP_DOMAIN: wego.monster
APP_DIR: wego-production
APP_PORT: 3000
PM2_APP_NAME: wego-production
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-ec2-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
preview-deploy:
runs-on: ubuntu-latest
env:
APP_DOMAIN: new-project-final.link
APP_DOMAIN: wego.monster
# 브랜치명 계산 필요
# APP_DIR: wego-production
# 앱 포트 계산 필요
Expand Down
6 changes: 3 additions & 3 deletions scripts/ec2/ec2-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ if grep -q "server_names_hash_bucket_size" /etc/nginx/nginx.conf; then

if [ "$CURRENT_VALUE" != "128" ]; then
echo "⚙️ server_names_hash_bucket_size를 $CURRENT_VALUE에서 128로 변경합니다."
sudo sed -i 's/server_names_hash_bucket_size [0-9]\+;/server_names_hash_bucket_size 128;/' /etc/nginx/nginx.conf
sudo sed -i 's/^# server_names_hash_bucket_size [0-9]\+;/server_names_hash_bucket_size 128;/' /etc/nginx/nginx.conf
echo "✅ Nginx 설정이 수정되었습니다."
else
echo "✅ server_names_hash_bucket_size가 이미 128로 설정되어 있습니다."
Expand Down Expand Up @@ -126,8 +126,8 @@ server {
listen 443 ssl http2;
server_name ${SUB_APP_DOMAIN}${APP_DOMAIN};

ssl_certificate /etc/letsencrypt/live/new-project-final.link/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/new-project-final.link/privkey.pem;
ssl_certificate /etc/letsencrypt/live/wego.monster/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/wego.monster/privkey.pem;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_prefer_server_ciphers on;

Expand Down