From 253f13199cdf0bd80b779a94fa9d9fca6244e74e Mon Sep 17 00:00:00 2001 From: lukefallows <52141323+lukefallows@users.noreply.github.com> Date: Tue, 16 Jan 2024 08:01:46 -0800 Subject: [PATCH] Add support for conditional routes based on port numbers in tls (#172) * Add support for conditional routes based on port numbers * Add support for conditional routes based on port numbers --- src/reference/config/bindings/binding-tls.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/reference/config/bindings/binding-tls.md b/src/reference/config/bindings/binding-tls.md index b3e36252..050e271a 100644 --- a/src/reference/config/bindings/binding-tls.md +++ b/src/reference/config/bindings/binding-tls.md @@ -76,6 +76,7 @@ A `vault` is not required to proxy `TLS` protocol as the handshake is only obser - [routes\[\].when](#routes-when) - [when\[\].authority](#when-authority) - [when\[\].alpn](#when-alpn) + - [when\[\].port](#when-port) - [routes\[\].exit\*](#routes-exit) ::: right @@ -221,6 +222,12 @@ Associated authority. Application protocol. +#### when[].port + +> `integer` | `string` | `array` of `integer` | `array` of `string` + +Port number(s), including port number ranges. + ### routes[].exit\* > `string`