wok icon indicating copy to clipboard operation
wok copied to clipboard

Already own nginx installed, how can I do ?

Open qwrty-ftw opened this issue 6 years ago • 6 comments

Hi,

I would like to install wok/kimchi, but I already have my own nginx server in /opt/nginx/

How can I do to install Wok without nginx ?

What configuration should I move to my nginx folder ? Only Nginx conf : "wok.conf" from wok ? and adapt configuration file to my system ?

Thnak you :)

qwrty-ftw avatar Dec 07 '18 13:12 qwrty-ftw

Hello, remember there is a config file por Wok in Nginx's path:

/etc/nginx/conf.d/wok.conf (...in CentOS)

You can add some config there or add another config file for your project. In my case, I added another configuration in wok.conf file and all is ok.

Regards

saulhuerta avatar Jan 16 '19 19:01 saulhuerta

Hi @ochbob!

As @saulhuerta pointed out, you only need the https://github.com/kimchi-project/wok/blob/master/src/nginx/wok.conf to make it working with your existing nginx server.

alinefm avatar Apr 19 '19 23:04 alinefm

Hello, thank you.

But when installing wok package, nginx is required and I havent installed nginx from package management. And I do not want install nginx from package management.

qwrty-ftw avatar May 22 '19 13:05 qwrty-ftw

Hello, thank you.

But when installing wok package, nginx is required and I havent installed nginx from package management. And I do not want install nginx from package management.

So I don't think there is any other solution unless you don't install Wok and Kimchi using package management. Get the code and install it manually.

alinefm avatar May 22 '19 19:05 alinefm

That is what I'm thinking about.

So I finally install the nginx package and move my old nginx installation. When i tried to install the wok's dependencies, I have some issue with pyhton3-pam and python3-ldap As i'm running Debian and not Ubuntu I think it's not the same package (those package does not exist on Debian Stretch)

What packages should I install instead ?

qwrty-ftw avatar May 23 '19 11:05 qwrty-ftw

According to https://packages.debian.org/stretch/python/, you might need to install python3-pampy and python3-ldap3.

Let me know if that works.

alinefm avatar Jun 18 '19 16:06 alinefm