update readme
This commit is contained in:
parent
5efdf251e2
commit
265f66c3bf
11
README.md
11
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 &&
|
||||
|
Loading…
Reference in New Issue
Block a user