Browse Source

async

master
zeus 4 years ago
parent
commit
bab3394da7
  1. 3
      swarmlab-app/nginx/swarmlab-stats-proxy-server.conf

3
swarmlab-app/nginx/swarmlab-stats-proxy-server.conf

@ -1,12 +1,13 @@
upstream factory_servers { upstream factory_servers {
ip_hash; ip_hash;
#server 127.0.0.1:3000; #server 127.0.0.1:3000;
server readmongo:3000 resolve; server readmongo:3000;
keepalive 64; keepalive 64;
#ip_hash; #ip_hash;
} }
proxy_cache_path /var/tmp levels=1:2 keys_zone=my_cache:10m max_size=10g inactive=60m use_temp_path=off; 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 { server {
listen 80; listen 80;
listen [::]:80 ipv6only=on; listen [::]:80 ipv6only=on;

Loading…
Cancel
Save