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;