kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 35479f7ee79583715bd8ead62fdad15b5f905b37
parent 1ad9f039abe71292d88f4f2bd64bc59399e29601
Author: Joris Vink <joris@coders.se>
Date:   Fri,  4 Jul 2014 09:14:34 +0200

Fix module configuration

Diffstat:
contrib/examples/generic/module.conf | 2+-
contrib/examples/pgsql_test/module.conf | 6++++--
contrib/examples/task_curl/module.conf | 2+-
3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/contrib/examples/generic/module.conf b/contrib/examples/generic/module.conf @@ -49,7 +49,7 @@ workers 4 # Load modules (you can load multiple at the same time). # An additional parameter can be specified as the "onload" function # which Kore will call when the module is loaded/reloaded. -load contrib/modules/example/example.module example_load +load contrib/examples/generic/example.module example_load # Validators # validator name type regex|function diff --git a/contrib/examples/pgsql_test/module.conf b/contrib/examples/pgsql_test/module.conf @@ -3,14 +3,16 @@ # of what a configuration file has to offer and what different # settings mean and do. -bind 127.0.0.1 8080 +bind 127.0.0.1 8081 chroot /home/joris/src/kore runas joris workers 4 pidfile kore.pid -load contrib/modules/pgsql_test/pgsql_test.module pgsql_load +load contrib/examples/pgsql_test/pgsql_test.module pgsql_load ssl_no_compression +pgsql_conn_max 5 + domain localhost { certfile cert/server.crt certkey cert/server.key diff --git a/contrib/examples/task_curl/module.conf b/contrib/examples/task_curl/module.conf @@ -1,4 +1,4 @@ -# Configuration for the contrib/modules/task_curl example. +# Configuration for the contrib/examples/task_curl example. bind 127.0.0.1 4443 chroot # configure this (ex: /home/joris/src/kore)