aboutsummaryrefslogtreecommitdiff
path: root/gmid.1
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-12-29 20:36:54 +0000
committerOmar Polo <op@omarpolo.com>2021-12-29 20:36:54 +0000
commitc143dcfa85413062ac50f526c8b560bbeb9e8566 (patch)
tree514dd9ce5016683c1503717423d7417c5de8215f /gmid.1
parent72b033ef18ae3f82922f6f11ce0f5194e95f667d (diff)
document the `proxy relay-to' rule
Diffstat (limited to 'gmid.1')
-rw-r--r--gmid.111
1 files changed, 10 insertions, 1 deletions
diff --git a/gmid.1 b/gmid.1
index 22bf0d2..5a310fb 100644
--- a/gmid.1
+++ b/gmid.1
@@ -406,7 +406,7 @@ A
section may include most of the server configuration rules
except
.Ic alias , Ic cert , Ic cgi , Ic entrypoint , Ic env , Ic key ,
-.Ic location No and Ic param .
+.Ic location , Ic param No and Ic proxy .
.It Ic log Ar bool
Enable or disable the logging for the current server or location block.
.It Ic param Ar name Cm = Ar value
@@ -428,6 +428,15 @@ 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 .
+.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.
.It Ic root Pa directory
Specify the root directory for this server
.Pq alas the current Dq document root .