Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 466 Bytes

File metadata and controls

17 lines (10 loc) · 466 Bytes

HTTP to HTTPS redirect

hope/redirect-http-to-https

Small container, that simply redirects all HTTP requests to HTTPS.
Can be used with rancher Load balancer.
Based on Nginx and Alpine.

Run

Build image

docker build -t redirect .

Run container

docker run -d -p 80:80 --name=redirect redirect