blob: 2415e5bc257b0ea10fe401c8313d5dd6ea31ccf8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# 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
}
|