From deedd790ce8060bfc16b4f8d21f056a8f7f5af69 Mon Sep 17 00:00:00 2001 From: dgotlieb Date: Thu, 24 Mar 2022 23:09:19 +0200 Subject: [PATCH] Add grpc and http2 listeners to gateway docs (#12367) Stating at Nomad version 1.2.0 `grpc` and `http2` [protocols are supported](https://github.com/hashicorp/nomad/pull/11187) --- website/content/docs/job-specification/gateway.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/content/docs/job-specification/gateway.mdx b/website/content/docs/job-specification/gateway.mdx index 50641bbd6..ef3474ffc 100644 --- a/website/content/docs/job-specification/gateway.mdx +++ b/website/content/docs/job-specification/gateway.mdx @@ -101,8 +101,8 @@ envoy_gateway_bind_addresses "" { #### `listener` Parameters - `port` `(int: required)` - The port that the listener should receive traffic on. -- `protocol` `(string: "tcp")` - The protocol associated with the listener. Either - `tcp` or `http`. +- `protocol` `(string: "tcp")` - The protocol associated with the listener. One + of `tcp`, `http`, `http2`, or `grpc`. ~> **Note:** If using `http`, preconfiguring a [service-default] in Consul to set the [Protocol](https://www.consul.io/docs/agent/config-entries/service-defaults#protocol)