[Kimchi-devel] [PATCH V2] [Wok 0/2] Use system's nginx proxy service.

pvital at linux.vnet.ibm.com pvital at linux.vnet.ibm.com
Wed Jul 13 17:53:54 UTC 2016


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

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

Due to issues with semanage in Fedora 24, it's not able to allow port 8001 in
SELinux. A bug was opened against Fedora community to investigate this:

https://bugzilla.redhat.com/show_bug.cgi?id=1355811

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 (2):
  Use system's nginx proxy service.
  Update troubleshooting documentation

 docs/troubleshooting.md |  3 +-
 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 +---
 6 files changed, 65 insertions(+), 75 deletions(-)

--
2.7.4




More information about the Kimchi-devel mailing list