Nginx at port 80, that does a 307 https redirect with same host/uri using whatever you throw at it.
10K+
https://hub.docker.com/r/picoded/https-redirect/ https://github.com/picoded/dockerfiles/tree/master/network/https-redirect
A simple nginx server, which redirects all its requests from HTTP to HTTPS. Useful in enforcing a HTTPS connection =)
It only has a single optional configuration, the HTTP Code to reply with, as documented below.
#
# Redirection HTTP code.
# Use either 307 (default) - Temporary Redirect
# Or 308 - Permanent Redirect
#
ENV HTTPCODE 307
Any problems / comments / kudos should be filed at github =) https://github.com/picoded/dockerfiles
Content type
Image
Digest
Size
7.5 MB
Last updated
over 8 years ago
docker pull picoded/https-redirect