Sign inSign up

foxylion/nginx-https-redirect

By foxylion

Updated almost 10 years ago

A minimal nginx which redirects all requests to the https version.

Image
1

500K+

foxylion/nginx-https-redirect repository overview

Automatic Redirects for HTTP requests

Docker Stars Docker Pulls

A minimal nginx which redirects all requests to the https version.

Can be used for example to redirect all plain requests of an Amazon ELB to the HTTPS port.

Usage

Without a Docker Swarm:

docker run -d --name proxy-redirect -p 80:80 foxylion/nginx-https-redirect

In a Docker Swarm:

docker service create  --name proxy-redirect -p 80:80 --replicas 2 foxylion/nginx-https-redirect

Tag summary

Content type

Image

Digest

Size

16.4 MB

Last updated

almost 10 years ago

docker pull foxylion/nginx-https-redirect