From 68d473379c9a23b7371f0aacea69eb900160d141 Mon Sep 17 00:00:00 2001 From: zeus Date: Sat, 28 Nov 2020 17:53:33 +0200 Subject: [PATCH] async --- swarmlab-app/nginx/swarmlab-stats-proxy-server.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/swarmlab-app/nginx/swarmlab-stats-proxy-server.conf b/swarmlab-app/nginx/swarmlab-stats-proxy-server.conf index a2493bd..1dd94bf 100644 --- a/swarmlab-app/nginx/swarmlab-stats-proxy-server.conf +++ b/swarmlab-app/nginx/swarmlab-stats-proxy-server.conf @@ -58,13 +58,13 @@ server { proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; - set $originaddr http://readmongo:3000; - #proxy_pass $originaddr; #set $originaddr http://factory_servers; - proxy_pass $originaddr; + #proxy_pass $originaddr; # or even # proxy_pass http://origin.example.com$request_uri; -# proxy_pass http://factory_servers$request_uri; + + proxy_pass http://factory_servers$1; + # proxy_pass http://factory_servers; # proxy_pass http://$host;