aboutsummaryrefslogtreecommitdiff
path: root/gmid.1
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2022-01-01 19:25:07 +0000
committerOmar Polo <op@omarpolo.com>2022-01-01 19:25:07 +0000
commitee68c36198e0e1f0142b18e130c55b73747027e1 (patch)
tree3cf9c4c3efe4cff382111039c30a40524427c4c2 /gmid.1
parent3c4b712bb2ef520be964da95fd627060f6639bf8 (diff)
document the new proxy stuff
Diffstat (limited to 'gmid.1')
-rw-r--r--gmid.135
1 files changed, 27 insertions, 8 deletions
diff --git a/gmid.1 b/gmid.1
index 5a310fb..8898bb8 100644
--- a/gmid.1
+++ b/gmid.1
@@ -428,15 +428,34 @@ If the OCSP response in
.Ar file
is empty, OCSP stapling will not be used.
The default is to not use OCSP stapling.
-.It Ic proxy Cm relay-to Ar host : Ns Ar port
-Relay the request to the given
-.Ar host .
+.It Ic proxy Ar option
+Enable requests proxying.
.Nm
-will connect to
-.Ar host : Ns Ar port
-and repeat the gemini request; the response will then be sent as-is
-to the connected client.
-Port is 1965 by default.
+can forward Gemini requests to other hosts on behalf of the client
+if configured to do so.
+Multiple options may be specified within curly braces.
+Valid options are:
+.Bl -tag -width Ds
+.It Ic cert Ar file
+Specify the client certificate to use when making requests.
+.It Ic key Ar file
+Specify the client certificate key to use when making requests.
+.It Ic protocols Ar string
+Specify the TLS protocols allowed when making remote requests.
+Refer to the
+.Xr tls_config_parse_protocols 3
+function for the valid protocol string values.
+By default, both TLSv1.2 and TLSv1.3 are enabled.
+.It Ic relay-to Ar host : Ns Op Ar port
+Relay the request to the given
+.Ar host
+at the given
+.Ar port
+.Pq 1965 by default.
+.It Ic verifyname Ar bool
+Enable or disable the TLS server name verification
+.Pq enabled by default.
+.El
.It Ic root Pa directory
Specify the root directory for this server
.Pq alas the current Dq document root .