Redirect HTTP to HTTPS with Docker
402
Redirect HTTP to HTTPS with Docker
Dockerfile linkslatest (Dockerfile) - 1.3 (Dockerfile) - This image accepts any http request and redirects to the https version of the same page.
It does not serve any pages.
The primary reason for this image is for doing SSL termination on a load balancer (eg: AWS ELB) in the simplest possible way.
docker run -d -p 8080:80 scottmiller171/ssl-redirect
docker run -d -p 80:80 my-web-server-image
All HTTP requests will hit this image and be redirected to make HTTPS request. This is abstracted from the user.
docker build -t ssl-redirect .
docker run ssl-redirect
Content type
Image
Digest
Size
1.6 MB
Last updated
almost 6 years ago
docker pull millergeek/ssl-redirect