Nginx SSL Terminator
Simple container for terminating SSL infront of an application.
I'll leave production deployment up to you, but this is how to get this running locally.
This container has 3 environment variables
SSL_KEY_PATH- A path to an SSL key
SSL_CRT_PATH- A path to an SSL Certificate (can be a pem of your certificate and intermediaries).
UPSTREAM- A host and port without protocol (for example
SSL_CRT_PATH are missing it will generate a self signed SSL certificate.
You might run it something like this
docker run \ --name ssl-term \ -v /my/secrets:/certs \ -e SSL_KEY_PATH=/certs/example.key \ -e SSL_CRT_PATH=/certs/example.crt \ -e UPSTREAM=www.google.com \ purplebooth/nginx-ssl-terminator
Or like this to generate a self signed certificate
docker run \ --name ssl-term \ -e UPSTREAM=www.google.com \ purplebooth/nginx-ssl-terminator
- The nginx container
Feel free to submit pull requests and issues. If it's a particualy large PR, you may wish to discuss
it in an issue first.
Please note that this project is released with a Contributor Code of Conduct. By participating in
this project you agree to abide by its terms.
We use SemVer for the version tags available See the tags on this repository.
Billie Thompson - Developer - PurpleBooth
See also the list of
contributors who participated in
This project is licensed under the MIT License - see the
LICENSE file for