From bab3394da7b1738ed118ce722c616131bd753e4a Mon Sep 17 00:00:00 2001 From: zeus Date: Sat, 28 Nov 2020 18:36:13 +0200 Subject: [PATCH] async --- swarmlab-app/nginx/swarmlab-stats-proxy-server.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/swarmlab-app/nginx/swarmlab-stats-proxy-server.conf b/swarmlab-app/nginx/swarmlab-stats-proxy-server.conf index a289c51..8e5ee24 100644 --- a/swarmlab-app/nginx/swarmlab-stats-proxy-server.conf +++ b/swarmlab-app/nginx/swarmlab-stats-proxy-server.conf @@ -1,12 +1,13 @@ upstream factory_servers { ip_hash; #server 127.0.0.1:3000; - server readmongo:3000 resolve; + server readmongo:3000; keepalive 64; #ip_hash; } proxy_cache_path /var/tmp levels=1:2 keys_zone=my_cache:10m max_size=10g inactive=60m use_temp_path=off; +resolver_timeout 5s; server { listen 80; listen [::]:80 ipv6only=on;