mirror of
https://github.com/omar-polo/gmid.git
synced 2024-09-29 22:12:12 +02:00
25 lines
563 B
Plaintext
25 lines
563 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"
|
|
}
|
|
|
|
# another example server, this time with CGI enabled for scripts in
|
|
# /cgi-bin/
|
|
server "it.example.com" {
|
|
cert "/path/to/cert.pem"
|
|
key "/path/to/key.pem"
|
|
root "/var/gemini/example.com"
|
|
cgi "/cgi-bin/"
|
|
}
|