From 8394426509494ebc574e00142bdae006fb52e921 Mon Sep 17 00:00:00 2001 From: Tommy Schaefer Date: Tue, 22 Nov 2016 10:19:01 -0600 Subject: [PATCH] Update haproxy template container path in docs --- README.md | 2 +- articles/swarm-mode-listener.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3dea89d6..6a0af330 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ The base HAProxy configuration can be found in [haproxy.tmpl](haproxy.tmpl). It ``` FROM vfarcic/docker-flow-proxy -COPY haproxy.tmpl /cfg/haproxy.tmpl +COPY haproxy.tmpl /cfg/tmpl/haproxy.tmpl ``` ### Reconfigure diff --git a/articles/swarm-mode-listener.md b/articles/swarm-mode-listener.md index b6779ec6..26f37a47 100644 --- a/articles/swarm-mode-listener.md +++ b/articles/swarm-mode-listener.md @@ -318,7 +318,7 @@ There are two ways we can add certificates to the proxy. One is to create your o ``` FROM vfarcic/docker-flow-proxy COPY my-cert.pem /certs/my-cert.pem -COPY haproxy.tmpl /cfg/haproxy.tmpl +COPY haproxy.tmpl /cfg/tmpl/haproxy.tmpl ``` When the image is built, it will be based on `vfarcic/docker-flow-proxy` and include `my-cert.pem` and `haproxy.tmpl` files. The `my-cert.pem` would be your certificate and the `haproxy.tmpl` the modified version of the original proxy template located in [https://github.com/vfarcic/docker-flow-proxy/blob/master/haproxy.tmpl](https://github.com/vfarcic/docker-flow-proxy/blob/master/haproxy.tmpl). You'd need to replace `{{.CertsString}}` with ` ssl crt /certs/my-cert.pem` (please note that the string should start with space). The complete line would be as follows.