Blob


1 ipv6 on # enable ipv6
2 daemon on # enable daemon mode
4 # decomment to allow only TLSv1.3
5 #protocols "tlsv1.3"
7 # add the mapping for the extension rtf to the MIME application/rtf
8 mime "application/rtf" "rtf"
10 # server block example
11 server "example.com" {
12 cert "/path/to/cert.pem"
13 key "/path/to/key.pem"
14 root "/var/gemini/example.com"
15 }
17 # another example server, this time with CGI enabled for scripts in
18 # /cgi-bin/
19 server "it.example.com" {
20 cert "/path/to/cert.pem"
21 key "/path/to/key.pem"
22 root "/var/gemini/example.com"
23 cgi "/cgi-bin/"
24 }