mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user