Sign inSign up

0x06065a/ssl-terminator

By 0x06065a

•Updated almost 9 years ago

Starts nginx instance with self-signed SSL certificate

Image
0

1.0K

0x06065a/ssl-terminator repository overview

⁠SSL Terminator

Starts nginx instance with self-signed SSL certificate

⁠Usage

$ FROM_PORT=5678 TO_PORT=8080 ./run

If you have multiple network interfaces:

$ PUBLIC_IP=<external IP> FROM_PORT=5678 TO_PORT=8080 ./run

You can also do it without run script:

$ docker run -it --rm \
  -e PUBLIC_IP=<external IP> \
  -e TARGET_PORT=<target port for proxy> \
  -p <external port>:443 \
  0x06065a/ssl-terminator

⁠Test

$ npm install -g wscat
$ FROM_PORT=1111 TO_PORT=2222 ./run
$ wscat -l 2222
$ wscat -n -c wss://localhost:1111

Tag summary

Content type

Image

Digest

Size

4.7 MB

Last updated

almost 9 years ago

docker pull 0x06065a/ssl-terminator