12 lines
317 B
Plaintext
12 lines
317 B
Plaintext
|
|
# Upstream configuration for Port Nimara Client Portal
|
||
|
|
upstream port_nimara_backend {
|
||
|
|
# Define multiple backend servers (PM2 cluster instances)
|
||
|
|
server 127.0.0.1:3028 max_fails=2 fail_timeout=30s;
|
||
|
|
|
||
|
|
# Keepalive connections to backend
|
||
|
|
keepalive 32;
|
||
|
|
|
||
|
|
# Load balancing method
|
||
|
|
least_conn;
|
||
|
|
}
|