Sign inSign up

birkhofflee/jumper

By birkhofflee

•Updated almost 10 years ago

A light, useful and fast Docker image for making a domain (or multiple domains!) redirect to an URL.

Image
1

737

birkhofflee/jumper repository overview

⁠BirkhoffLee/jumper Docker Stars Docker Pulls

A light, useful and fast Docker image for making a domain (or multiple domains!) redirect to an URL.

⁠Deployment

I usually run a website on Docker with jwilder/nginx-proxy⁠, and I recommend you to use it too. So simply run the following to launch Jumper:

$ docker run -d -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock:ro jwilder/nginx-proxy
$ docker run -itd -P -e "VIRTUAL_HOST=DOMAIN_1(,DOMAIN_2,...)" -e "jumper_destination_url=DESTINATION_URL" birkhofflee/jumper

In addition, if you wish Jumper to forward paths (like "http://from.birkhoff.me/abcd⁠" to "http://dest.birkhoff.me/abcd⁠"), add -e "jumper_forward_path=true" after your -e "jumper_destination_url=DESTINATION_URL".

For wildcard hosts please check this out: https://github.com/jwilder/nginx-proxy/blob/master/README.md#wildcard-hosts⁠

⁠Contributing

Only one rule: Test before submitting a pull request.

⁠Security Reports

Please contact [email protected]⁠, thank you very much.

⁠License

See LICENSE⁠.

Tag summary

Content type

Image

Digest

Size

84.2 MB

Last updated

almost 10 years ago

docker pull birkhofflee/jumper