Blame


1 6214c127 2021-01-15 op ipv6 on # enable ipv6
2 6214c127 2021-01-15 op daemon on # enable daemon mode
3 6214c127 2021-01-15 op
4 5bc3c98e 2021-01-15 op # decomment to allow only TLSv1.3
5 5bc3c98e 2021-01-15 op #protocols "tlsv1.3"
6 5bc3c98e 2021-01-15 op
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"
9 982069a1 2021-01-18 op
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"
15 6214c127 2021-01-15 op }
16 6214c127 2021-01-15 op
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"
21 05c23a54 2021-01-19 op
22 05c23a54 2021-01-19 op # enable CGI scripts in /cgi-bin/
23 6214c127 2021-01-15 op cgi "/cgi-bin/"
24 05c23a54 2021-01-19 op
25 05c23a54 2021-01-19 op # optional
26 05c23a54 2021-01-19 op lang "it"
27 6214c127 2021-01-15 op }