aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docker-compose/config/nginx/nginx.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/docker-compose/config/nginx/nginx.conf b/docker-compose/config/nginx/nginx.conf
index 17fad1b876..61fed515c3 100644
--- a/docker-compose/config/nginx/nginx.conf
+++ b/docker-compose/config/nginx/nginx.conf
@@ -20,7 +20,9 @@ http {
# Add more server entries here for scaling or load balancing
upstream cps-and-ncmp {
- server cps-and-ncmp:8080;
+ least_conn;
+ server docker-compose-cps-and-ncmp-1:8080;
+ server docker-compose-cps-and-ncmp-2:8080;
}
server {