Simple redirection tool! Ready to use!
1.8K
Extremely lightweight redirecting agent that uses less than 5MB ram to run redirections. For an example visit links.boop.ninja/github
Set ENV Variable REDIRECTS
REDIRECTS="google>https://google.com|discord>https://discord.gg/d5N7JwzPgt"
NOTE! both
>and|are not URL safe, these are used to designate how the app breaks the variable up. You can include newlines in the variable to make it easier to read. If your url uses>or|please url encode it!
Set ENV variable DEFAULT_ENDPOINT to point to the url you which to direct any other traffic towards.
Launch the redirect agent.
docker run \
-p 8000:8000 \
-e DEFAULT_ENDPOINT="https://github.com/mbround18" \
-e REDIRECTS="google>https://google.com|discord>https://discord.gg/d5N7JwzPgt" \
mbround18/redirect:latest
version: "3.9" # optional since v1.27.0
services:
web:
build: .
image: mbround18/redirect:latest
environment:
- 'DEFAULT_ENDPOINT="https://github.com/mbround18"'
- 'REDIRECTS="google>https://google.com|discord>https://discord.gg/d5N7JwzPgt"'
ports:
- "8000:8000"
Content type
Image
Digest
sha256:1d815ac02…
Size
51.3 MB
Last updated
over 1 year ago
docker pull mbround18/redirect