Blob


1 ipv6 on # enable ipv6
3 # decomment to allow only TLSv1.3
4 #protocols "tlsv1.3"
6 # add the mapping for the extension rtf to the MIME application/rtf
7 mime "application/rtf" "rtf"
9 # server block example
10 server "example.com" {
11 cert "/path/to/cert.pem"
12 key "/path/to/key.pem"
13 root "/var/gemini/example.com"
14 }
16 server "it.example.com" {
17 cert "/path/to/cert.pem"
18 key "/path/to/key.pem"
19 root "/var/gemini/example.com"
21 # enable CGI scripts in /cgi-bin/
22 cgi "/cgi-bin/"
24 # optional
25 lang "it"
26 }
28 # a server block with a location
29 server "foo.com" {
30 cert "..."
31 key "..."
32 root "..."
34 location "/it/" {
35 lang "it"
36 }
38 location "/files" {
39 lang "en"
40 auto index on
41 }
42 }