Skip to content

Commit dfbaa35

Browse files
committed
Update deploy-backend.yml
1 parent f55506d commit dfbaa35

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/deploy-backend.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ jobs:
167167
}
168168
}
169169
NGINX_EOF
170+
# Remove legacy config if it exists to avoid duplication
171+
sudo rm -f /etc/nginx/conf.d/svcwatch.conf
170172
sudo cp /tmp/svcwatch_nginx.conf /etc/nginx/conf.d/svcwatch-backend.conf
171173
sudo nginx -t && sudo nginx -s reload
172174
echo "✅ Nginx configured for https://$DOMAIN:8080"

0 commit comments

Comments
 (0)