From: Paulo Vital <pvital(a)linux.vnet.ibm.com>
This patch works on Fedora 23 and 24, RHEL 7.2, Ubuntu 16.04, Debian 8.5
and OpenSUSE 42.1
It's recommended to follow the current steps reported in Troubleshooting wiki
page of Wok:
https://github.com/kimchi-project/wok/blob/master/docs/troubleshooting.md
V4:
- Use values of session timeout from configuration to set proxy timeout
- remove un-necessary method to check if Wok is installed
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 | 3 +-
src/wok/i18n.py | 2 ++
src/wok/proxy.py | 28 ++++++++-------
src/wok/server.py | 6 +---
5 files changed, 60 insertions(+), 74 deletions(-)
--
2.7.4