fix: use dedicated PM2 process name karate_halloween on port 34822
This commit is contained in:
1 parent
1b3562f03c
commit
fc5d96e72c
3 files changed
+22
-21
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user