mirror of https://github.com/omar-polo/gmid.git
parent
3e4749f7f9
commit
6980aad6d7
|
@ -27,10 +27,11 @@ in the requests made by clients, so it's impossible to serve content
|
|||
outside the
|
||||
*docs*
|
||||
directory by mistake.
|
||||
Furthermore, on OpenBSD,
|
||||
pledge(3)
|
||||
Furthermore, on
|
||||
OpenBSD,
|
||||
pledge(2)
|
||||
and
|
||||
unveil(3)
|
||||
unveil(2)
|
||||
are used to ensure that
|
||||
**gmid**
|
||||
dosen't do anything else than read files from the given directory and
|
||||
|
@ -78,7 +79,7 @@ To quickly getting started
|
|||
EOF
|
||||
$ gmid -c cert.pem -k key.pem -d docs
|
||||
|
||||
now you can visit gemini://localhost/ with your preferred gemini client.
|
||||
now you can visit gemini://localhost/ with your preferred gemini client.
|
||||
|
||||
# CAVEATS
|
||||
|
||||
|
|
11
gmid.1
11
gmid.1
|
@ -40,10 +40,11 @@ in the requests made by clients, so it's impossible to serve content
|
|||
outside the
|
||||
.Pa docs
|
||||
directory by mistake.
|
||||
Furthermore, on OpenBSD,
|
||||
.Xr pledge 3
|
||||
Furthermore, on
|
||||
.Ox ,
|
||||
.Xr pledge 2
|
||||
and
|
||||
.Xr unveil 3
|
||||
.Xr unveil 2
|
||||
are used to ensure that
|
||||
.Nm
|
||||
dosen't do anything else than read files from the given directory and
|
||||
|
@ -72,7 +73,7 @@ The key for the certificate, by default is
|
|||
.El
|
||||
.Sh EXAMPLES
|
||||
To quickly getting started
|
||||
.Bd -literal -indent
|
||||
.Bd -literal -offset indent
|
||||
$ # generate a cert and a key
|
||||
$ openssl req -x509 -newkey rsa:4096 -keyout key.pem \\
|
||||
-out cert.pem -days 365 -nodes
|
||||
|
@ -82,7 +83,7 @@ $ cat <<EOF > docs/index.gmi
|
|||
test paragraph...
|
||||
EOF
|
||||
$ gmid -c cert.pem -k key.pem -d docs
|
||||
.El
|
||||
.Ed
|
||||
.Pp
|
||||
now you can visit gemini://localhost/ with your preferred gemini client.
|
||||
.Sh CAVEATS
|
||||
|
|
Loading…
Reference in New Issue