From e94db0178c840d7613f83e50dc25db7696e7874d Mon Sep 17 00:00:00 2001 From: Blake Covarrubias Date: Tue, 3 Dec 2019 08:09:25 -0800 Subject: [PATCH] Add 'kind = connect-proxy' to mesh_gateway.html --- website/source/docs/connect/mesh_gateway.html.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/website/source/docs/connect/mesh_gateway.html.md b/website/source/docs/connect/mesh_gateway.html.md index b98d119e5c..f237909971 100644 --- a/website/source/docs/connect/mesh_gateway.html.md +++ b/website/source/docs/connect/mesh_gateway.html.md @@ -116,11 +116,13 @@ MeshGateway { ### Enabling Gateways for a Service Instance -The following service definition will enable gateways for the service instance in the `remote` mode. +The following [Proxy Service Registration](https://www.consul.io/docs/connect/registration/service-registration.html) +definition will enable gateways for the service instance in the `remote` mode. ```hcl service { name = "web-sidecar-proxy" + kind = "connect-proxy" port = 8181 proxy { destination_service_name = "web" @@ -138,7 +140,7 @@ service { } ``` -Or alternatively as a sidecar service: +Or alternatively inline with the service definition: ```hcl service { @@ -171,6 +173,7 @@ for a second upstream and will disable gateways for a third upstream. ```hcl service { name = "web-sidecar-proxy" + kind = "connect-proxy" port = 8181 proxy { destination_service_name = "web"