Browse Source

async

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

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

@ -58,9 +58,9 @@ server {
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade"; proxy_set_header Connection "upgrade";
#set $originaddr http://readmongo:3000; set $originaddr http://readmongo:3000;
#proxy_pass $originaddr; #proxy_pass $originaddr;
set $originaddr http://factory_servers; #set $originaddr http://factory_servers;
proxy_pass $originaddr; proxy_pass $originaddr;
# or even # or even
# proxy_pass http://origin.example.com$request_uri; # proxy_pass http://origin.example.com$request_uri;

Loading…
Cancel
Save