Sign inSign up

goabout/redirector

By goabout

Updated over 6 years ago

HTTP server that redirects requests

Image
0

404

goabout/redirector repository overview

redirector

HTTP server that redirects requests

Usage

The easiest way to run the redirector is using Docker.

Create a configuration file containing the redirections:

cat <<. >redirector.yaml
redirections:
  - host: example.org
    target: https://example.com
.

See etc/redirector.yaml for a documented example configuration file.

Then start the redirector:

docker run -v $PWD/redirector.yaml:/etc/redirector.yaml:ro goabout/redirector

Tag summary

Content type

Image

Digest

Size

3.8 MB

Last updated

over 6 years ago

docker pull goabout/redirector