fix: use dedicated PM2 process name karate_halloween on port 34822

This commit is contained in:
Ajasra committed 2026-10-28 10:24:07 +08:00
1 parent 1b3562f03c
commit fc5d96e72c
3 files changed
+22 -21

No files matched your search

+2 -2
View File
@@ -2,7 +2,7 @@
#
# Production Nginx reverse proxy configuration for Karate Halloween Photo Booth
# Domain: karate.ph.sokaris.link
# Backend: Next.js PM2 process on 127.0.0.1:34821
# Backend: Next.js PM2 process on 127.0.0.1:34822
# User: www-data
# Rate limiting zones (can be defined in http block in /etc/nginx/nginx.conf or here if http-level included)
@@ -10,7 +10,7 @@ limit_req_zone $binary_remote_addr zone=karate_api_limit:10m rate=10r/s;
limit_req_zone $binary_remote_addr zone=karate_auth_limit:10m rate=5r/m;
upstream karate_backend {
server 127.0.0.1:34821;
server 127.0.0.1:34822;
keepalive 32;
}