aboutsummaryrefslogtreecommitdiff
path: root/gmid.1
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2022-01-30 10:14:44 +0000
committerOmar Polo <op@omarpolo.com>2022-01-30 10:14:44 +0000
commit1cdea97b6c74ec86e202431a208b5c99343f7273 (patch)
tree630fa77c88a4071706e094912d17a56144355672 /gmid.1
parent1b626eae837ad61f2cd56fbd310ab9397b522c3a (diff)
allow using a custom hostname for SNI during proxying
add a `sni' option for the `proxy' block: the given name is used instead of the one extracted by the `relay-to' rule.
Diffstat (limited to 'gmid.1')
-rw-r--r--gmid.16
1 files changed, 6 insertions, 0 deletions
diff --git a/gmid.1 b/gmid.1
index b9f9970..09293f7 100644
--- a/gmid.1
+++ b/gmid.1
@@ -472,6 +472,12 @@ block.
Allow the proxying only from clients that provide a certificate
signed by the CA certificate in
.Ar file .
+.It Ic sni Ar hostname
+Use the given
+.Ar hostname
+instead of the one extracted from the
+.Ic relay-to
+rule for the TLS handshake with the proxied gemini server.
.It Ic use-tls Ar bool
Specify whether to use TLS when connecting to the proxied host.
Enabled by default.