aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorMichael McVady <femtonaut@gmail.com>2022-03-10 17:41:15 -0500
committerMichael McVady <femtonaut@gmail.com>2022-03-10 17:44:23 -0500
commitea8676066c1b87565149222ebe1a17c6905aa7d7 (patch)
tree59c19209c2daa915cc1636974e924ebbf669abff /conf
parent27384b1735cc558614ccfc3b9cac89bcd5869b4d (diff)
seccomp
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
}