From d6ecb203adf1b5436aae62ee13da24ac812b7aef Mon Sep 17 00:00:00 2001 From: zeus Date: Sat, 28 Nov 2020 16:56:24 +0200 Subject: [PATCH] async --- .../nginx/swarmlab-stats-proxy-server.conf | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/swarmlab-app/nginx/swarmlab-stats-proxy-server.conf b/swarmlab-app/nginx/swarmlab-stats-proxy-server.conf index ea09b95..c8c9b1c 100644 --- a/swarmlab-app/nginx/swarmlab-stats-proxy-server.conf +++ b/swarmlab-app/nginx/swarmlab-stats-proxy-server.conf @@ -58,15 +58,15 @@ server { proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; - set $originaddr http://readmongo:3000; + #set $originaddr http://readmongo:3000; #proxy_pass $originaddr; -#set $originaddr http://origin.example.com; -#proxy_pass $originaddr; + set $originaddr http://factory_servers; + 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; -# proxy_pass http://$host; +# proxy_pass http://origin.example.com$request_uri; +# proxy_pass http://factory_servers$request_uri; +# proxy_pass http://factory_servers; +# proxy_pass http://$host; proxy_redirect off; proxy_read_timeout 240s;