Generate self-signed certificate for given SERVER_DOMAIN
on the fly and starts a proxy https server.
docker build -t self-signed-https-proxy .
docker run -p 443:443 self-signed-https-proxy
docker run -v "$PWD":'/etc/nginx/certificates' -p 443:443 self-signed-https-proxy
SERVER_DOMAIN
default: 'localtest.me'- 'localtest.me' and subdomains will always resolve to
127.0.0.1
- 'localtest.me' and subdomains will always resolve to
SERVER_PORT
default: '443'TARGET_DOMAIN
default: "$SERVER_DOMAIN"TARGET_PORT
default: '80'