aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/clog.conf21
1 files changed, 5 insertions, 16 deletions
diff --git a/conf/clog.conf b/conf/clog.conf
index 2415e5b..f0a2c41 100644
--- a/conf/clog.conf
+++ b/conf/clog.conf
@@ -1,33 +1,22 @@
# clog configuration
-# server tls {
-# bind 127.0.0.1 8888
-# }
-
server notls {
- bind 127.0.0.1 8889
+ bind 127.0.0.1 8888
tls no
}
load ./clog.so init
-# tls_dhparam dh2048.pem
-
-workers 1
+workers 4
-seccomp_tracing yes
+seccomp_tracing no
domain * {
attach notls
-# attach tls
-# certfile cert/server.pem
-# certkey cert/key.pem
-
- filemap /static/ assets/static
+ filemap /static/ assets/static
route / posts
- route ^/posts/[a-z0-9\-]+$ post
-
route /posts posts
+ route ^/posts/[a-z0-9\-]+$ post
}