Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Nginx SSL Terminator

Simple container for terminating SSL infront of an application.

Getting Started

I'll leave production deployment up to you, but this is how to get this running locally.


You'll need to install boot2docker if you're using OS X or Windows, or
docker if you're using Linux.

Running it

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

If SSL_KEY_PATH or 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 \

Or like this to generate a self signed certificate

docker run \
      --name ssl-term \
      -e \

Built With


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.


This project is licensed under the MIT License - see the
LICENSE file for

Docker Pull Command