minimal quick reverse tls proxy automatically provisioned with a let's encrypt pki certificate.
1.2K
minimal quick reverse tls proxy automatically provisioned with a let's encrypt pki certificate.
I wanted a very quick and easy way to get a reverse http proxy with a valid browser trusted pki certificate up and running without configuring anything. This project is the result. It does a few things;
FROM scratch a lot.Lets assume you want to proxy www.domain.com with a valid certificate;
For very quick usage, you can use;
docker run --rm dsbaha/quicktlsproxy www.domain.com
However, be aware that you'll most likely hit let's encrypt throttling limits if your service restarts often.
To cache generated certificates, you can use;
docker run --rm -v quicktlsproxy:/etc/certs dsbaha/quicktlsproxy www.domain.com
To disable listening on http, you can use;
docker run --rm dsbaha/quicktlsproxy -nohttp www.domain.com
To change the proxy destination, you can use;
docker run --rm -e destination=http://backend:8000 dsbaha/quicktlsproxy www.domain.com
You can specify multiple domain names for let's encrypt to generate certs for;
docker run --rm dsbaha/quicktlsproxy www.domain.com domain.com test.domain.com
Please be aware they will all map to the single backend for now.
| Name | Description |
|---|---|
| set an email in the let's encrypt request | |
| listen | set a listen address e.g. 0.0.0.0 |
| destination | set the backend destination |
| nohttp | disable listening on http and redirecting to https |
| certdir | set the directory to cache let's encrypt generated certificates |
Content type
Image
Digest
Size
4.5 MB
Last updated
over 6 years ago
docker pull dsbaha/quicktlsproxy