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 6214c127 2021-01-15 op # server block example
8 6214c127 2021-01-15 op server "example.com" {
9 6214c127 2021-01-15 op cert "/path/to/cert.pem"
10 6214c127 2021-01-15 op key "/path/to/key.pem"
11 6214c127 2021-01-15 op root "/var/gemini/example.com"
12 6214c127 2021-01-15 op }
13 6214c127 2021-01-15 op
14 6214c127 2021-01-15 op # another example server, this time with CGI enabled for scripts in
15 6214c127 2021-01-15 op # /cgi-bin/
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 6214c127 2021-01-15 op cgi "/cgi-bin/"
21 6214c127 2021-01-15 op }