Sign inSign up

iteconomics/redirect

By iteconomics

Updated almost 9 years ago

Small Container to build a deep-link 301 permanent redirection.

Image
0

440

iteconomics/redirect repository overview

  • Example for running one of the deep-link 301 permanent redirection containers:
docker run --rm -e REDIRECT_URL="destination.domain.tld" -p 80:80 iteconomics/redirect
  • If the container should run permanently behind a Træfik proxy, the following command will be the thing you want to run:
docker run -d \
  --restart always \
  --name souce_destination_redirect \
  --label traefik.frontend.rule=Host:source.domain.tld \
  --label traefik.port=80 \
  -e REDIRECT_URL="destination.domain.tld" \
  iteconomics/redirect
  • Don't forget to justify the container name, the source.domain.tld and the destination.domain.tld!

Tag summary

Content type

Image

Digest

Size

212.4 MB

Last updated

almost 9 years ago

docker pull iteconomics/redirect