kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit d67b5aaa047c984461cd736e9140c7154b819b99
parent 192f458f97645323c7cbbebc42f51a12247215f7
Author: Joris Vink <joris@coders.se>
Date:   Mon, 18 Jan 2016 11:51:44 +0100

Properly do config for upload example

Diffstat:
examples/upload/conf/upload.conf | 13+++++--------
1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/examples/upload/conf/upload.conf b/examples/upload/conf/upload.conf @@ -3,17 +3,14 @@ bind 127.0.0.1 8888 load ./upload.so +tls_dhparam dh2048.pem + http_body_max 1024000000 http_body_disk_offload 4096 -validator v_name regex ^[a-zA-Z]*$ -validator v_number regex ^[0-9]*$ - domain 127.0.0.1 { - static / page + certfile cert/server.crt + certkey cert/server.key - params post / { - validate field1 v_name - validate field2 v_number - } + static / page }