1 6214c127 2021-01-15 op ipv6 on # enable ipv6
2 6214c127 2021-01-15 op daemon on # enable daemon mode
4 5bc3c98e 2021-01-15 op # decomment to allow only TLSv1.3
5 5bc3c98e 2021-01-15 op #protocols "tlsv1.3"
7 982069a1 2021-01-18 op # add the mapping for the extension rtf to the MIME application/rtf
8 982069a1 2021-01-18 op mime "application/rtf" "rtf"
10 6214c127 2021-01-15 op # server block example
11 6214c127 2021-01-15 op server "example.com" {
12 6214c127 2021-01-15 op cert "/path/to/cert.pem"
13 6214c127 2021-01-15 op key "/path/to/key.pem"
14 6214c127 2021-01-15 op root "/var/gemini/example.com"
17 6214c127 2021-01-15 op server "it.example.com" {
18 6214c127 2021-01-15 op cert "/path/to/cert.pem"
19 6214c127 2021-01-15 op key "/path/to/key.pem"
20 6214c127 2021-01-15 op root "/var/gemini/example.com"
22 252908e6 2021-01-24 op # enable CGI scripts in /cgi-bin/
23 6214c127 2021-01-15 op cgi "/cgi-bin/"
29 252908e6 2021-01-24 op # a server block with a location
30 252908e6 2021-01-24 op server "foo.com" {
35 252908e6 2021-01-24 op location "/it/" {
39 252908e6 2021-01-24 op location "/files" {