[Kimchi-devel] [PATCH V3] [Wok] Use system's nginx proxy service.

pvital at linux.vnet.ibm.com pvital at linux.vnet.ibm.com
Mon Jul 18 21:59:03 UTC 2016


From: Paulo Vital <pvital at linux.vnet.ibm.com>

This patch-set works on Fedora 23 and 24, RHEL 7.2, Ubuntu 16.04, Debian 8.5
and OpenSUSE 42.1

Just pay attention to follow current steps reported in Troubleshooting wiki
page of Wok: 
https://github.com/kimchi-project/wok/blob/master/docs/troubleshooting.md

V3:
    - removed unnecessary semanage command.

V2:
    - fixed PEP8 errors

V1:

This patch removes the code that executes a dedicated nginx proxy, making Wok
to use the system's nginx service. This is a requirement to make Wok acceptable
in community repositories.

It also make sure that a Wok executed from path different than installed (from
a cloned and builded source code, for example) will create a symbolic link in
system's nginx config dir to the running configuration file.

This patch solves part of issue #25

Paulo Vital (1):
  Use system's nginx proxy service.

 src/nginx/wok.conf.in | 95 +++++++++++++++++++++------------------------------
 src/wok/config.py.in  |  6 +++-
 src/wok/i18n.py       |  2 ++
 src/wok/proxy.py      | 28 ++++++++-------
 src/wok/server.py     |  6 +---
 5 files changed, 63 insertions(+), 74 deletions(-)

--
2.7.4




More information about the Kimchi-devel mailing list