summaryrefslogtreecommitdiff
path: root/openbsd/frontends/etc/relayd.conf.tpl
blob: d8553b22fc0e35fbe7ba190628ea19986cea4b39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
log connection

tcp protocol "gemini" {
    tls keypair buetow.org
    tls keypair snonux.de
    tls keypair foo.zone
    tls keypair irregular.ninja
}

relay "gemini4" {
    listen on <%= $vio0_ip %> port 1965 tls
    protocol "gemini"
    forward to 127.0.0.1 port 11965
}

relay "gemini6" {
    listen on <%= $ipv6address->($hostname) %> port 1965 tls
    protocol "gemini"
    forward to 127.0.0.1 port 11965
}