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)
This commit is contained in:
dgotlieb
2022-03-24 23:09:19 +02:00
committed by GitHub
parent 17347c5ff2
commit deedd790ce

View File

@@ -101,8 +101,8 @@ envoy_gateway_bind_addresses "<service>" {
#### `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)