Skip to content

hopeua/docker-redirect-http-to-https

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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