diff options
author | Omar Polo <op@omarpolo.com> | 2024-06-28 18:55:12 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2024-06-28 18:55:12 +0000 |
commit | bdfea70f305cae0cee71d79f097aff93a69bccf7 (patch) | |
tree | 160f1cb0802f3f7b8c222d7aceb68705cca748ec | |
parent | b98396717f2b3cfd4349bf619b088aa9493856f3 (diff) |
document proxy-v1
-rw-r--r-- | gmid.conf.5 | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/gmid.conf.5 b/gmid.conf.5 index 743a8e9..40b2800 100644 --- a/gmid.conf.5 +++ b/gmid.conf.5 @@ -11,7 +11,7 @@ .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -.Dd June 11, 2024 +.Dd June 28, 2024 .Dt GMID.CONF 5 .Os .Sh NAME @@ -425,7 +425,7 @@ Specify the language tag for the text/gemini content served. If not specified, no .Dq lang parameter will be added in the response. -.It Ic listen on Ar address Op Ic port Ar number +.It Ic listen on Ar address Oo Ic port Ar number Oc Op Ic proxy-v1 Set the listen .Ar address and @@ -444,6 +444,18 @@ will listen on all IPv4 and IPv6 addresses. can be used to listen on all IPv4 addresses and .Ar :: on all IPv6 addresses. +If +.Ic proxy-v1 +is specified, then connections speaking the proxy protocol v1 are +expected on this listener. +If multiple +.Ic listen +directive share the same +.Ar address +and +.Ar port , +then all of them must have or lack +.Ic proxy-v1 . .It Ic location Ar path Brq ... Specify server configuration rules for a specific location. .Ar path |