Public | Automated Build

Last pushed: 2 years ago
Short Description
Redirect http traffic to https.
Full Description


This is a simple Docker launch script to start a container that will
redirect HTTP (port 80) to HTTPS (port 443) via a 302 redirect.

It uses the official Apache image,
with no separate Dockerfile.

To use it, just run the script from this directory. It
will bind to port 80 and redirect requests to the same host, so you
should have something listening on port 443.


I added a minimal Dockerfile for extra convenience in some cases.
There is an automated build hooked to this repository
here. To use it,

docker run -d -p 80:80 matted/https-redirecter
Docker Pull Command
Source Repository