Sign inSign up

vzhzw/stunnel

By vzhzw

•Updated about 2 years ago

based on Alpine Linux v3.20.1 / stunnel 5.72

Image
Networking
0

1.0K

vzhzw/stunnel repository overview

based on Alpine Linux v3.20.1 / stunnel 5.72

⁠Sample:
docker run --name stunnel --restart unless-stopped --net="host" \
    -v /etc/cert:/etc/cert:ro -v /etc/stunnel:/etc/stunnel:ro \
    -v /etc/localtime:/etc/localtime:ro -d vzhzw/stunnel

/etc/stunnel/stunnel.conf

sslVersionMin = TLSv1.2
sslVersionMax = TLSv1.3
delay = yes
foreground = yes

[virtual]
accept = 0.0.0.0:443
connect = 127.0.0.1:80
cert = /etc/cert/wildcard.crt
key = /etc/cert/wildcard.key

[site1]
sni = virtual:www.domain.com
connect = 127.0.0.1:80
cert = /etc/cert/wildcard.crt
key = /etc/cert/wildcard.key

[site2]
sni = virtual:app.domain.com
connect = 192.168.1.101:80
cert = /etc/cert/wildcard.crt
key = /etc/cert/wildcard.key

Tag summary

Content type

Image

Digest

sha256:2e56465c5…

Size

4 MB

Last updated

about 2 years ago

docker pull vzhzw/stunnel