Blob
1 ipv6 on # enable ipv62 daemon on # enable daemon mode4 # decomment to allow only TLSv1.35 #protocols "tlsv1.3"7 # add the mapping for the extension rtf to the MIME application/rtf8 mime "application/rtf" "rtf"10 # server block example11 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 # optional26 lang "it"27 }29 # a server block with a location30 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 on42 }43 }