Skip to content

Commit

Permalink
docs: update warning for gateway listener docs for non-tcp protos
Browse files Browse the repository at this point in the history
  • Loading branch information
Dgotlieb committed Jun 6, 2022
1 parent 0246944 commit 99b9408
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/content/docs/job-specification/gateway.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ envoy_gateway_bind_addresses "<service>" {
- `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
~> **Note:** If using any protocol other than `tcp` (for example: `http` or `grpc`), preconfiguring a [service-default] in Consul to
set the [Protocol](https://www.consul.io/docs/agent/config-entries/service-defaults#protocol)
of the service to `http` is recommended.
of the service to the desired protocol is mandatory due to an [open issue](https://github.com/hashicorp/nomad/issues/8647).

- `service` <code>(array<[service]>: required)</code> - One or more services to be
exposed via this listener. For `tcp` listeners, only a single service is allowed.
Expand Down

0 comments on commit 99b9408

Please sign in to comment.