Skip to content

Commit

Permalink
Merge pull request #1 from Dgotlieb/add-grpc-and-http2-to-gateway-lis…
Browse files Browse the repository at this point in the history
…teners

Add grpc and http2 to gateway listeners
  • Loading branch information
Dgotlieb committed Mar 24, 2022
2 parents 8cc8121 + 2f07421 commit 994bf52
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 994bf52

Please sign in to comment.