aboutsummaryrefslogtreecommitdiff
path: root/sample.conf
blob: 86252da98982b5328affa3f8ed64b1c8d0ea5dcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
ipv6 on         # enable ipv6
daemon on       # enable daemon mode

# server block example
server "example.com" {
	cert "/path/to/cert.pem"
	key  "/path/to/key.pem"
	root "/var/gemini/example.com"
}

# another example server, this time with CGI enabled for scripts in
# /cgi-bin/
server "it.example.com" {
	cert "/path/to/cert.pem"
	key  "/path/to/key.pem"
	root "/var/gemini/example.com"
	cgi  "/cgi-bin/"
}