Skip to content

⏩ a 5MB catch all http redirector, useful for http -> https redirects

Notifications You must be signed in to change notification settings

ignited/redirect.docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

redirect.docker

catch all http redirector, useful for http -> https redirects

Insanely fast and small! Based on alpine and nginx.

Launching

docker run -d -e REDIRECT="https://www.google.com/" -p 8080:80 cusspvz/redirect

Now you should be able to browse to http://localhost:8080/any/path and have your browser redirected to https://www.google.com/any/path.

Environment variables

Adjust Dockerfile to override the defaults

WORKER_CONNECTIONS

Defaults to: 1024

HTTP_PORT

Defaults to: 80

REDIRECT

Defaults to: https://$host

About

⏩ a 5MB catch all http redirector, useful for http -> https redirects

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%