commit c143dcfa85413062ac50f526c8b560bbeb9e8566 from: Omar Polo date: Wed Dec 29 20:36:54 2021 UTC document the `proxy relay-to' rule commit - 72b033ef18ae3f82922f6f11ce0f5194e95f667d commit + c143dcfa85413062ac50f526c8b560bbeb9e8566 blob - 22bf0d23faa13763dcab1b792aae6fb3f4581e44 blob + 5a310fb9eb57235a28a1086d8f5eab9a88cb9e84 --- gmid.1 +++ 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 .