Sign inSign up

bobrik/nginx-https-terminator

By bobrik

Updated almost 11 years ago

Image
0

545

bobrik/nginx-https-terminator repository overview

nginx https terminator

Docker image to terminate https for arbitrary upstream. Supports http and server section customization with includes.

Usage

docker run -d -p 443 -p 80 \
  -e NGINX_UPSTREAM=example.internal \
  -e NGINX_SERVER_NAME=example.com \
  -v /crt/file/on/host:/etc/nginx/certs/cert:ro
  -v /key/file/on/host:/etc/nginx/keys/key:ro
  bobrik/nginx-https-terminator

This will run nginx on ports 80 (http) and 443 (https), redirect everything from http to https and proxy all requests to example.internal with Host: example.com.

Certificate /crt/file/on/host with key /key/file/on/host will be used.

Tag summary

Content type

Image

Digest

sha256:7ae5bf3cc

Size

45.7 MB

Last updated

almost 11 years ago

docker pull bobrik/nginx-https-terminator