Sign inSign up

picoded/https-redirect

By picoded

Updated over 8 years ago

Nginx at port 80, that does a 307 https redirect with same host/uri using whatever you throw at it.

Image
1

10K+

picoded/https-redirect repository overview

picoded/https-redirect

https://hub.docker.com/r/picoded/https-redirect/ https://github.com/picoded/dockerfiles/tree/master/network/https-redirect

Summary and configuration

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

Issue filling

Any problems / comments / kudos should be filed at github =) https://github.com/picoded/dockerfiles

Tag summary

Content type

Image

Digest

Size

7.5 MB

Last updated

over 8 years ago

docker pull picoded/https-redirect