wilderlopes / docker-local-ssl-termination-proxy

A simple SSL Termination Proxy for localhost

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker Local SSL Termination Proxy

A simple SSL Termination Proxy for accessing https://localhost.

This proxy is easy to use (1 command to launch) and nothing is installed on your local machine thanks to Docker.

Requirement

  • Docker (1.10.0+)

Usage

Mac OSX

docker run -it \
  -e "HOST_IP=`ipconfig getifaddr en0`" \
  -e "PORT=8000" \
  -p 443:443 \
  --rm \
  esplo/docker-local-ssl-termination-proxy

Linux

docker run -it \
  -e "HOST_IP=`hostname -I | awk '{print $1}'`" \
  -e "PORT=8000" \
  -p 443:443 \
  --rm \
  esplo/docker-local-ssl-termination-proxy

Other platform

Only you have to do is to change the command for 'HOST_IP'.

Test connection

$ curl -k https://localhost/

License

See the LICENSE file for license rights and limitations (MIT).

About

A simple SSL Termination Proxy for localhost

License:MIT License


Languages

Language:Dockerfile 80.1%Language:Shell 19.9%