From f38620833adac760694b50a14c1fca41564d4e9f Mon Sep 17 00:00:00 2001 From: Mathijs de Bruin Date: Sat, 10 Dec 2022 23:24:16 +0000 Subject: [PATCH] Temporarily disable ip_hash as well. --- roles/services/frontend/templates/nginx-frontend.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/services/frontend/templates/nginx-frontend.conf.j2 b/roles/services/frontend/templates/nginx-frontend.conf.j2 index 8a09f9f..8b8d7e4 100644 --- a/roles/services/frontend/templates/nginx-frontend.conf.j2 +++ b/roles/services/frontend/templates/nginx-frontend.conf.j2 @@ -39,7 +39,7 @@ server { } upstream search { - ip_hash; + # ip_hash; keepalive {{ groups['search_api'] | length * 2 }}; # 2 connections per backend server. {% for host in groups['search_api'] %}