diff options
Diffstat (limited to 'conf')
-rw-r--r-- | conf/clog.conf | 24 |
1 files changed, 15 insertions, 9 deletions
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 } |