From 8bf3c9c8d7a60e3d934b17382b07faa1c9967541 Mon Sep 17 00:00:00 2001 From: Nathan Jones Date: Thu, 21 Nov 2019 16:57:56 -0500 Subject: [PATCH 1/2] Clarified function of com.docker.lb.context_root_rewrite Multiple support cases (eg 91611) have been opened because customers don't understand what `com.docker.lb.context_root_rewrite` does. --- ee/ucp/interlock/usage/labels-reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee/ucp/interlock/usage/labels-reference.md b/ee/ucp/interlock/usage/labels-reference.md index 0d70192cf3..63c42a4482 100644 --- a/ee/ucp/interlock/usage/labels-reference.md +++ b/ee/ucp/interlock/usage/labels-reference.md @@ -33,7 +33,7 @@ services are being reconfigured, users won't notice it. | `com.docker.lb.port` | Port to use for internal upstream communication. | `8080` | | `com.docker.lb.network` | Name of network the proxy service should attach to for upstream connectivity. | `app-network-a` | | `com.docker.lb.context_root` | Context or path to use for the application. | `/app` | -| `com.docker.lb.context_root_rewrite` | Boolean to enable rewrite for the context root. | `true` | +| `com.docker.lb.context_root_rewrite` | When set to 'true', this option changes the path from the value of label 'com.docker.lb.context_root' to `/`. | `true` | | `com.docker.lb.ssl_cert` | Docker secret to use for the SSL certificate. | `example.com.cert` | | `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` | From 699e42083acc83bc196595279ecbac294030ce43 Mon Sep 17 00:00:00 2001 From: Traci Morrison <52976526+traci-morrison@users.noreply.github.com> Date: Wed, 11 Dec 2019 10:52:11 -0500 Subject: [PATCH 2/2] Fix formatting --- ee/ucp/interlock/usage/labels-reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee/ucp/interlock/usage/labels-reference.md b/ee/ucp/interlock/usage/labels-reference.md index 63c42a4482..cfc0dfe12e 100644 --- a/ee/ucp/interlock/usage/labels-reference.md +++ b/ee/ucp/interlock/usage/labels-reference.md @@ -33,7 +33,7 @@ services are being reconfigured, users won't notice it. | `com.docker.lb.port` | Port to use for internal upstream communication. | `8080` | | `com.docker.lb.network` | Name of network the proxy service should attach to for upstream connectivity. | `app-network-a` | | `com.docker.lb.context_root` | Context or path to use for the application. | `/app` | -| `com.docker.lb.context_root_rewrite` | When set to 'true', this option changes the path from the value of label 'com.docker.lb.context_root' to `/`. | `true` | +| `com.docker.lb.context_root_rewrite` | When set to `true`, this option changes the path from the value of label `com.docker.lb.context_root` to `/`. | `true` | | `com.docker.lb.ssl_cert` | Docker secret to use for the SSL certificate. | `example.com.cert` | | `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` |