commit | 220375ad0aff2db57717360c19f6a061b40f0d1a | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <teo@opennetworking.org> | Tue Jan 16 08:53:02 2018 -0800 |
committer | Matteo Scandolo <teo@opennetworking.org> | Tue Jan 16 08:53:02 2018 -0800 |
tree | 2c120ab646ee54b09056253eb3353a8a5630c258 | |
parent | 5bf51730d81198c1c8db8a36ef555e3a4e64c158 [diff] [blame] |
[CORD-2541] Fixing nginx proxy for the local scenario Change-Id: I7a923acc6a090fdc3418de265de6183a5507dabd
diff --git a/conf/proxy.js b/conf/proxy.js index 0aac626..8eb4fee 100644 --- a/conf/proxy.js +++ b/conf/proxy.js
@@ -23,7 +23,8 @@ console.info(`Proxying request to: ${target}`); const proxy = httpProxy.createProxyServer({ - target: `http://${target}` + target: `http://${target}`, + ws: true }); proxy.on('error', function(error, req, res) {