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
|
### helloworld with socat
|
||||||
|
|
||||||
> socat could be handy when you need to see the flow between the client and the
|
socat could be handy when you need to see the TLS flow between the reverse
|
||||||
> 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
|
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.
|
> ECDHE- OpenSSL ciphers.
|
||||||
|
|
||||||
```
|
```
|
||||||
@ -97,10 +100,8 @@ services:
|
|||||||
image: dockercloud/hello-world
|
image: dockercloud/hello-world
|
||||||
volumes:
|
volumes:
|
||||||
- /srv/services/gencert/gencert.sh:/gencert.sh:ro
|
- /srv/services/gencert/gencert.sh:/gencert.sh:ro
|
||||||
entrypoint: sh -c "mkdir /certs &&
|
entrypoint: sh -c "mkdir /certs && cd /certs &&
|
||||||
cd /certs &&
|
|
||||||
/gencert.sh --cn helloworld &&
|
/gencert.sh --cn helloworld &&
|
||||||
apk --update add socat &&
|
|
||||||
( nohup /run.sh & ) &&
|
( nohup /run.sh & ) &&
|
||||||
echo '@edge http://nl.alpinelinux.org/alpine/edge/main' | tee -a /etc/apk/repositories &&
|
echo '@edge http://nl.alpinelinux.org/alpine/edge/main' | tee -a /etc/apk/repositories &&
|
||||||
apk --update add socat@edge &&
|
apk --update add socat@edge &&
|
||||||
|
Loading…
Reference in New Issue
Block a user