2021-01-15 10:31:52 +01:00
|
|
|
ipv6 on # enable ipv6
|
|
|
|
daemon on # enable daemon mode
|
|
|
|
|
2021-01-15 19:55:05 +01:00
|
|
|
# decomment to allow only TLSv1.3
|
|
|
|
#protocols "tlsv1.3"
|
|
|
|
|
2021-01-18 19:43:47 +01:00
|
|
|
# add the mapping for the extension rtf to the MIME application/rtf
|
|
|
|
mime "application/rtf" "rtf"
|
|
|
|
|
2021-01-15 10:31:52 +01:00
|
|
|
# server block example
|
|
|
|
server "example.com" {
|
|
|
|
cert "/path/to/cert.pem"
|
|
|
|
key "/path/to/key.pem"
|
|
|
|
root "/var/gemini/example.com"
|
|
|
|
}
|
|
|
|
|
|
|
|
server "it.example.com" {
|
|
|
|
cert "/path/to/cert.pem"
|
|
|
|
key "/path/to/key.pem"
|
|
|
|
root "/var/gemini/example.com"
|
2021-01-19 11:58:29 +01:00
|
|
|
|
|
|
|
# enable CGI scripts in /cgi-bin/
|
2021-01-15 10:31:52 +01:00
|
|
|
cgi "/cgi-bin/"
|
2021-01-19 11:58:29 +01:00
|
|
|
|
|
|
|
# optional
|
|
|
|
lang "it"
|
2021-01-15 10:31:52 +01:00
|
|
|
}
|