Skip to content

Commit

Permalink
feat: nginx renuseport
Browse files Browse the repository at this point in the history
  • Loading branch information
Arachneee committed Oct 16, 2024
1 parent 74fbd73 commit 3649787
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/backend-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,9 @@ jobs:
# default.conf 파일 생성 λ˜λŠ” μ—…λ°μ΄νŠΈ
echo "Creating or updating default.conf..."
echo "server {
listen 80;
worker_shutdown_timeout 10s;
server {
listen 80 reuseport;
location / {
proxy_pass http://haengdong-backend-$NEXT_PORT:8080;
Expand All @@ -184,8 +185,9 @@ jobs:
# default.conf 파일 생성
echo "Creating default.conf..."
echo "server {
listen 80;
worker_shutdown_timeout 10s;
server {
listen 80 reuseport;
location / {
proxy_pass http://haengdong-backend-$NEXT_PORT:8080;
Expand Down

0 comments on commit 3649787

Please sign in to comment.