Proxies HTTP and TLS connections based on the initial request of the TLS session.
1.4K
Usage in docker-compose.yaml:
version: "2.3"
services:
sniproxy:
container_name: sniproxy
image: crcinau/sniproxy:latest
ports:
- 80:80
- 443:443
volumes:
- /home/username/sniproxy/sniproxy.conf:/etc/sniproxy/sniproxy.conf
- /var/log/sniproxy:/var/log/sniproxy
Create /home/username/sniproxy/sniproxy.conf as follows:
user sniproxy
pidfile /var/run/sniproxy/sniproxy.pid
resolver {
mode ipv4_only
}
error_log {
filename /var/log/sniproxy/error.log
priority notice
}
listener 0.0.0.0 80 {
proto http
access_log {
filename /var/log/sniproxy/access.log
}
}
listener 0.0.0.0 443 {
proto tls
access_log {
filename /var/log/sniproxy/access.log
}
}
table {
google.com *
}
Content type
Image
Digest
sha256:357fc998c…
Size
5.3 MB
Last updated
about 3 years ago
docker pull crcinau/sniproxy