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 server "it.example.com" {
18 cert "/path/to/cert.pem"
19 key "/path/to/key.pem"
20 root "/var/gemini/example.com"
22 # enable CGI scripts in /cgi-bin/
23 cgi "/cgi-bin/"
25 # optional
26 lang "it"
27 }
29 # a server block with a location
30 server "foo.com" {
31 cert "..."
32 key "..."
33 root "..."
35 location "/it/" {
36 lang "it"
37 }
39 location "/files" {
40 lang "en"
41 auto index on
42 }
43 }