Blame


1 6214c127 2021-01-15 op ipv6 on # enable ipv6
2 6214c127 2021-01-15 op
3 5bc3c98e 2021-01-15 op # decomment to allow only TLSv1.3
4 5bc3c98e 2021-01-15 op #protocols "tlsv1.3"
5 5bc3c98e 2021-01-15 op
6 982069a1 2021-01-18 op # add the mapping for the extension rtf to the MIME application/rtf
7 982069a1 2021-01-18 op mime "application/rtf" "rtf"
8 982069a1 2021-01-18 op
9 6214c127 2021-01-15 op # server block example
10 6214c127 2021-01-15 op server "example.com" {
11 6214c127 2021-01-15 op cert "/path/to/cert.pem"
12 6214c127 2021-01-15 op key "/path/to/key.pem"
13 6214c127 2021-01-15 op root "/var/gemini/example.com"
14 6214c127 2021-01-15 op }
15 6214c127 2021-01-15 op
16 6214c127 2021-01-15 op server "it.example.com" {
17 6214c127 2021-01-15 op cert "/path/to/cert.pem"
18 6214c127 2021-01-15 op key "/path/to/key.pem"
19 6214c127 2021-01-15 op root "/var/gemini/example.com"
20 05c23a54 2021-01-19 op
21 252908e6 2021-01-24 op # enable CGI scripts in /cgi-bin/
22 6214c127 2021-01-15 op cgi "/cgi-bin/"
23 05c23a54 2021-01-19 op
24 252908e6 2021-01-24 op # optional
25 252908e6 2021-01-24 op lang "it"
26 6214c127 2021-01-15 op }
27 252908e6 2021-01-24 op
28 252908e6 2021-01-24 op # a server block with a location
29 252908e6 2021-01-24 op server "foo.com" {
30 252908e6 2021-01-24 op cert "..."
31 252908e6 2021-01-24 op key "..."
32 252908e6 2021-01-24 op root "..."
33 252908e6 2021-01-24 op
34 252908e6 2021-01-24 op location "/it/" {
35 252908e6 2021-01-24 op lang "it"
36 252908e6 2021-01-24 op }
37 252908e6 2021-01-24 op
38 252908e6 2021-01-24 op location "/files" {
39 252908e6 2021-01-24 op lang "en"
40 252908e6 2021-01-24 op auto index on
41 252908e6 2021-01-24 op }
42 252908e6 2021-01-24 op }