Blob
1 ipv6 on # enable ipv63 # decomment to allow only TLSv1.34 #protocols "tlsv1.3"6 # add the mapping for the extension rtf to the MIME application/rtf7 mime "application/rtf" "rtf"9 # server block example10 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 # optional25 lang "it"26 }28 # a server block with a location29 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 on41 }42 }