From 3123f09ce08d3824671ca218bef66c28748bda07 Mon Sep 17 00:00:00 2001 From: Michael McVady Date: Mon, 7 Mar 2022 22:02:53 -0500 Subject: Disable TLS & added posts resource --- conf/clog.conf | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) (limited to 'conf/clog.conf') diff --git a/conf/clog.conf b/conf/clog.conf index b86712f..8a6cf81 100644 --- a/conf/clog.conf +++ b/conf/clog.conf @@ -1,27 +1,33 @@ # clog configuration -server tls { - bind 127.0.0.1 8888 +# server tls { +# bind 127.0.0.1 8888 +# } + +server notls { + bind 127.0.0.1 8889 + tls no } load ./clog.so init -tls_dhparam dh2048.pem +# tls_dhparam dh2048.pem workers 1 seccomp_tracing yes domain * { - # attach notls - attach tls + attach notls - certfile cert/server.pem - certkey cert/key.pem +# attach tls +# certfile cert/server.pem +# certkey cert/key.pem filemap /static/ assets/static - route / page + route / posts + route ^/posts/[a-z1-9\-]+$ post - route /posts page + route /posts posts } -- cgit v1.2.3