Skip to content

Commit

Permalink
test: 9100 포트 포워딩
Browse files Browse the repository at this point in the history
  • Loading branch information
Arachneee committed Oct 17, 2024
1 parent 5c5fc56 commit f6599f9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/backend-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,15 @@ jobs:
proxy_set_header X-Forwarded-Proto \$scheme;
client_max_body_size 300M;
}
location /actuator {
proxy_pass http://haengdong-backend-$NEXT_PORT:9100;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
client_max_body_size 300M;
}
}" > ./nginx-conf/default.conf
# Nginx 컨테이너 내부에서 설정 리로드
Expand Down Expand Up @@ -197,6 +206,14 @@ jobs:
proxy_set_header X-Forwarded-Proto \$scheme;
client_max_body_size 300M;
}
location /actuator {
proxy_pass http://haengdong-backend-$NEXT_PORT:9100;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
client_max_body_size 300M;
}
}" > ./nginx-conf/default.conf
# 새로운 Nginx 컨테이너 실행
Expand Down

0 comments on commit f6599f9

Please sign in to comment.