[Kimchi-devel] [PATCH] v2 Proxy websocket connections through nginx
Rob Lemley
rob.lemley at rochester.edu
Wed Oct 7 14:26:32 UTC 2015
This is v2 of my patch against master that sets up nginx to proxy the
websocket requests handled by websockify running on port 64667.
Rob Lemley (1):
Configure nginx to proxy connections to the websocket server. This
helps in networks with restrictive firewalls.
- modify the nginx config file (kimchi.conf.in) and code to support changes
- update README files
- update firewalld config
- move console.html into Kimchi plugin (websockify startup code is in Kimchi)
- browsers tested - Firefox and Chrome (current versions)
- tested on Centos 7
configure.ac | 1 -
docs/README.md | 5 +----
src/firewalld.xml | 1 -
src/nginx/wok.conf.in | 15 +++++++++++++
src/wok/plugins/kimchi/config.py.in | 6 +++++-
src/wok/plugins/kimchi/configure.ac | 1 +
src/wok/plugins/kimchi/docs/README.md | 5 +----
src/wok/plugins/kimchi/model/config.py | 2 ++
src/wok/plugins/kimchi/ui/Makefile.am | 2 +-
src/wok/plugins/kimchi/ui/js/src/kimchi.api.js | 18 ++++++++--------
src/wok/plugins/kimchi/ui/pages/storage.html.tmpl | 5 +----
.../kimchi/ui/spice-html5/pages/spice_auto.html | 2 +-
src/wok/plugins/kimchi/ui/websockify/Makefile.am | 22 +++++++++++++++++++
src/wok/plugins/kimchi/ui/websockify/console.html | 25 ++++++++++++++++++++++
src/wok/plugins/kimchi/vnc.py | 4 ++--
src/wok/proxy.py | 1 +
src/wokd.in | 1 +
ui/pages/Makefile.am | 2 --
ui/pages/websockify/Makefile.am | 22 -------------------
ui/pages/websockify/console.html | 25 ----------------------
20 files changed, 88 insertions(+), 77 deletions(-)
create mode 100644 src/wok/plugins/kimchi/ui/websockify/Makefile.am
create mode 100644 src/wok/plugins/kimchi/ui/websockify/console.html
delete mode 100644 ui/pages/websockify/Makefile.am
delete mode 100644 ui/pages/websockify/console.html
--
1.8.3.1
More information about the Kimchi-devel
mailing list