[Kimchi-devel] [PATCH] Proxy websocket connections through nginx

Rob Lemley rob.lemley at rochester.edu
Mon Oct 5 21:07:19 UTC 2015


This is a patch against v1.5.1 that sets up nginx to proxy the websocket
requests handled by websockify running on port 64667.
The changes include modifying the nginx config file (kimchi.conf.in) and
various Kimchi files to support the URL changes.
Tested on Firefox and Chrome browsers (current versions).


Rob Lemley (1):
  Configure nginx to proxy connections to the websocket server     so
    that browsers don't need to connect to port 64667. This helps     in
    networks with restrictive firewalls.

 src/kimchi/config.py.in              |  8 ++++++++
 src/kimchi/model/config.py           |  2 ++
 src/kimchi/proxy.py                  |  1 +
 src/kimchi/vnc.py                    |  4 ++--
 src/kimchid.in                       |  1 +
 src/nginx/kimchi.conf.in             | 15 +++++++++++++++
 ui/js/src/kimchi.api.js              | 14 +++++++-------
 ui/spice-html5/pages/spice_auto.html |  2 +-
 8 files changed, 37 insertions(+), 10 deletions(-)

-- 
1.8.3.1




More information about the Kimchi-devel mailing list