kore/example.conf
Joris Vink 7dfa7e6ec0 be carefull when we reload the module to not reload it when workers are inside the module callbacks.
do this by implementing a pthread rwlock, and locking it for reading when going into a callback and locking it for writing when we need to reload the mod.
2013-05-31 00:06:54 +02:00

19 lines
418 B
Plaintext

# Example Kore configuration
# Server configuration.
bind 10.211.55.3 443
chroot /home/joris/src/kore
runas joris
workers 10
# Load our site module now (containing all the goodies).
# onload myinit
load example/example.module
# Declare page handlers below.
# handler path module_callback
domain 10.211.55.3
static /css/style.css serve_style_css
static / serve_index
dynamic ^/[a-z0-9_]*$ serve_profile