HTTP to HTTPS redirect Docker image
HTTP requests to
docker run -d -p '80:8080' blueimp/http2https [hostname][:port]
The port argument allows to override the redirect port, which is by default the
To distinguish between a single port and a single hostname argument, the port must always be prefixed with a colon (e.g.
The hostname argument allows to override the default redirect hostname, which by default is taken from the
Host client header.
Build the redirect service as statically compiled Linux binary:
docker-compose up build
Build and run the redirect service:
docker-compose up --build -d serve
Test the redirect service:
docker-compose up test
Remove the containers and local build images:
docker-compose down --rmi local
Released under the MIT license.