From d18703bf7c4d04ebcafacb8d7a4651ff4c31d601 Mon Sep 17 00:00:00 2001 From: Maria Bermudez Date: Mon, 18 Mar 2019 09:18:07 -0700 Subject: [PATCH] Incorporate Euan's changes Add examples for sticky_session_cookie and redirects --- ee/ucp/interlock/usage/labels-reference.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ee/ucp/interlock/usage/labels-reference.md b/ee/ucp/interlock/usage/labels-reference.md index 2efdbe130e..b6e2a2bf7a 100644 --- a/ee/ucp/interlock/usage/labels-reference.md +++ b/ee/ucp/interlock/usage/labels-reference.md @@ -5,8 +5,10 @@ description: Learn about the labels you can use in your swarm services to route keywords: routing, proxy --- -# Using routing labels -The following labels are available for you to use in swarm services: +## Using routing labels + +Once the layer 7 routing solution is enabled, you can +[start using it in your swarm services](index.md). | Label | Description | Example | @@ -20,7 +22,7 @@ The following labels are available for you to use in swarm services: | `com.docker.lb.ssl_key` | Docker secret to use for the SSL key. | `example.com.key` | | `com.docker.lb.websocket_endpoints` | Comma separated list of endpoints to configure to be upgraded for websockets. | `/ws,/foo` | | `com.docker.lb.service_cluster` | Name of the service cluster to use for the application. | `us-east` | -| `com.docker.lb.sticky_session_cookie` | Cookie to use for sticky sessions. | `none` | -| `com.docker.lb.redirects` | Semi-colon separated list of redirects to add in the format of `,`. Example: `http://old.example.com,http://new.example.com;` | `none` | +| `com.docker.lb.sticky_session_cookie` | Cookie to use for sticky sessions. | `app_session` | +| `com.docker.lb.redirects` | Semi-colon separated list of redirects to add in the format of `,`. | `http://old.example.com,http://new.example.com;` | | `com.docker.lb.ssl_passthrough` | Enable SSL passthrough. | `false` | | `com.docker.lb.backend_mode` | Select the backend mode that the proxy should use to access the upstreams. Defaults to `task`. | `vip` |