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".
|
instead of "en".
|
||||||
.It Op Fl v
|
.It Op Fl v
|
||||||
Enable virtualhost support, the hostname in the query will be considered as a directory name.
|
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
|
.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
|
.It Op Fl d Ar path
|
||||||
Use
|
Use
|
||||||
.Ar path
|
.Ar path
|
||||||
|
@ -61,7 +61,7 @@ configuration example:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
log connection
|
log connection
|
||||||
relay "gemini" {
|
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
|
forward to 127.0.0.1 port 11965
|
||||||
}
|
}
|
||||||
.Ed
|
.Ed
|
||||||
|
|
Loading…
Add table
Reference in a new issue