Skip to content

Commit bf5b7bf

Browse files
유미라유미라
authored andcommitted
fix: Update load balancing method to ip_hash
1 parent 1c10b74 commit bf5b7bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ http {
1010
access_log /var/log/nginx/access.log upstream_log;
1111

1212
upstream socket_nodes {
13-
least_conn;
13+
ip_hash;
1414
server server1:3000;
1515
server server2:3000;
1616
}

0 commit comments

Comments
 (0)