update readme

This commit is contained in:
Andy 2018-07-15 19:07:21 +02:00
parent 5efdf251e2
commit 265f66c3bf
Signed by: arno
GPG Key ID: 9076D5E6B31AE99C

View File

@ -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 &&