Sign inSign up

vahempio/redirect

By vahempio

•Updated over 8 years ago

Tiny app to redirect the entry point to a chosen URL.

Image
0

316

vahempio/redirect repository overview

⁠Redirect

Tiny Go app to redirect the entry point to a chosen URL.

By default, no port are routed to the host. Only the :80 is exposed on the docker.

Usage example:

$ docker run --rm -p 8080:80 -e URL="http://foo.bar.com" vahempio/redirect

And open http://localhost:8080/⁠ to see the redirection to foo.bar.com.

Github source code: https://github.com/vahempio/redirect-docker/⁠

DockerHub automated build: https://hub.docker.com/r/vahempio/redirect/⁠

Tag summary

Content type

Image

Digest

Size

1.6 MB

Last updated

over 8 years ago

docker pull vahempio/redirect