# clog configuration # 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 workers 1 seccomp_tracing yes domain * { attach notls # attach tls # certfile cert/server.pem # certkey cert/key.pem filemap /static/ assets/static route / posts route ^/posts/[a-z0-9\-]+$ post route /posts posts }