Sign inSign up

1p22geo/minihttps

By 1p22geo

•Updated over 2 years ago

Simple HTTPS proxy.

Image
0

963

1p22geo/minihttps repository overview

⁠Simple HTTPS proxy in node.js. Use environment variables for configuration

  • SERVER - the server to forward (e.g. http://localhost:3000⁠)
  • PORT - the port to listen on (e.g. 4433 for https://localhost:4433⁠)
  • KEY - the private key file path (make sure to bind-mount it, it's the container-side location)
  • CERT - same but certificate
  • CA - optional, if this is not a self-signed cert, path to the CA certificate
docker run -v ./root.crt:/app/app.crt -v ./root.key:/app/app.key -e KEY=/app/app.key -e CERT=/app/app.crt -e SERVER=http://192.168.50.193:4000 -e PORT=4433 -p 4433:4433 -it 1p22geo/minihttps # self-signed cert

docker run -v ./root.crt:/app/ca.crt -v ./intermediate.crt:/app/app.crt -v ./intermediate.key:/app/app.key -e KEY=/app/app.key -e CERT=/app/app.crt -e CA=/app/ca.crt -e SERVER=http://192.168.50.193:4000 -e PORT=4433 -p 4433:4433 -it 1p22geo/minihttps # two-level certificate chain

Tag summary

Content type

Image

Digest

sha256:9c23ae944…

Size

44.4 MB

Last updated

over 2 years ago

docker pull 1p22geo/minihttps