Skip to content

Commit

Permalink
Add grpc and http2 listeners to gateway docs
Browse files Browse the repository at this point in the history
Stating at Nomad version 1.2.0 `grpc` and `http2` [protocols are supported](hashicorp#11187):
  • Loading branch information
Dgotlieb committed Mar 24, 2022
1 parent 8cc8121 commit 5bfce06
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions website/content/docs/job-specification/gateway.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,9 @@ 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)
Expand Down

0 comments on commit 5bfce06

Please sign in to comment.