Sign inSign up

pety3bi/http2https

By pety3bi

Updated over 6 years ago

HTTP to HTTPS

Image
0

50K+

pety3bi/http2https repository overview

HTTP to HTTPS

Docker Pulls

The web is moving to TLS. This is a Docker container that forces browser redirection from HTTP to HTTPS for all hosts that hit it.

HTTP code 307 is used to redirect browsers so that the HTTP method does not change (which would happen with old clients using 301/302).

https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/307

Usage:

docker run -d -p80:80 pety3bi/http2https:latest

Tag summary

Content type

Image

Digest

Size

3.2 MB

Last updated

over 6 years ago

docker pull pety3bi/http2https