From ea8676066c1b87565149222ebe1a17c6905aa7d7 Mon Sep 17 00:00:00 2001 From: Michael McVady Date: Thu, 10 Mar 2022 17:41:15 -0500 Subject: seccomp --- conf/clog.conf | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) (limited to 'conf') 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 } -- cgit v1.2.3