Sign inSign up

matted/https-redirecter

By matted

•Updated over 10 years ago

Redirect http traffic to https.

Image
0

303

matted/https-redirecter repository overview

⁠https_redirecter

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 launch.sh 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.

⁠Update

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

docker run -d -p 80:80 matted/https-redirecter

Tag summary

Content type

Image

Digest

Size

66.3 MB

Last updated

over 10 years ago

docker pull matted/https-redirecter