From 265f66c3bf7c111843b911a028753078c2230b0d Mon Sep 17 00:00:00 2001 From: Andrey Arapov Date: Sun, 15 Jul 2018 19:07:21 +0200 Subject: [PATCH] update readme --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7efcedd..c81adfa 100644 --- a/README.md +++ b/README.md @@ -87,8 +87,11 @@ services: ### helloworld with socat -> socat could be handy when you need to see the flow between the client and the -> backend. Minimum socat version should be [1.7.3.2](https://fossies.org/linux/privat/socat-1.7.3.2.tar.gz/socat-1.7.3.2/CHANGES) so it will work with the +socat could be handy when you need to see the TLS flow between the reverse +proxy and a backend. It may also let you secure the traffic between them in +case when the backend application does not support TLS on its own. + +> Minimum socat version should be [1.7.3.2](https://fossies.org/linux/privat/socat-1.7.3.2.tar.gz/socat-1.7.3.2/CHANGES) so it will work with the > ECDHE- OpenSSL ciphers. ``` @@ -97,10 +100,8 @@ services: image: dockercloud/hello-world volumes: - /srv/services/gencert/gencert.sh:/gencert.sh:ro - entrypoint: sh -c "mkdir /certs && - cd /certs && + entrypoint: sh -c "mkdir /certs && cd /certs && /gencert.sh --cn helloworld && - apk --update add socat && ( nohup /run.sh & ) && echo '@edge http://nl.alpinelinux.org/alpine/edge/main' | tee -a /etc/apk/repositories && apk --update add socat@edge &&