aboutsummaryrefslogtreecommitdiff
path: root/conf/clog.conf
blob: 8a6cf81f915c10f60bd25c583c99801040f682f7 (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-z1-9\-]+$ post

	route /posts posts
}