Use hostname.example from RFC2606
This commit is contained in:
parent
493302530b
commit
7fcb978bc5
1 changed files with 3 additions and 3 deletions
6
vger.8
6
vger.8
|
@ -23,9 +23,9 @@ Set the default lang in the return code to
|
|||
instead of "en".
|
||||
.It Op Fl v
|
||||
Enable virtualhost support, the hostname in the query will be considered as a directory name.
|
||||
As example, for request gemini://fqdn.local/file.gmi
|
||||
As example, for request gemini://hostname.example/file.gmi
|
||||
.Nm
|
||||
will read the file /var/gemini/fqdn.local/file.gmi
|
||||
will read the file /var/gemini/hostname.example/file.gmi
|
||||
.It Op Fl d Ar path
|
||||
Use
|
||||
.Ar path
|
||||
|
@ -61,7 +61,7 @@ configuration example:
|
|||
.Bd -literal -offset indent
|
||||
log connection
|
||||
relay "gemini" {
|
||||
listen on 163.172.223.238 port 1965 tls
|
||||
listen on hostname.example port 1965 tls
|
||||
forward to 127.0.0.1 port 11965
|
||||
}
|
||||
.Ed
|
||||
|
|
Loading…
Reference in a new issue