mirror of
https://github.com/omar-polo/gmid.git
synced 2024-09-30 06:21:19 +02:00
44 lines
722 B
Plaintext
44 lines
722 B
Plaintext
ipv6 on # enable ipv6
|
|
daemon on # enable daemon mode
|
|
|
|
# decomment to allow only TLSv1.3
|
|
#protocols "tlsv1.3"
|
|
|
|
# add the mapping for the extension rtf to the MIME application/rtf
|
|
mime "application/rtf" "rtf"
|
|
|
|
# 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"
|
|
|
|
# enable CGI scripts in /cgi-bin/
|
|
cgi "/cgi-bin/"
|
|
|
|
# optional
|
|
lang "it"
|
|
}
|
|
|
|
# a server block with a location
|
|
server "foo.com" {
|
|
cert "..."
|
|
key "..."
|
|
root "..."
|
|
|
|
location "/it/" {
|
|
lang "it"
|
|
}
|
|
|
|
location "/files" {
|
|
lang "en"
|
|
auto index on
|
|
}
|
|
}
|