mirror of
https://github.com/jorisvink/kore
synced 2025-03-10 04:59:02 -04:00
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.
19 lines
418 B
Plaintext
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
|