This is a redirect service based on Nitro engine (https://nitro.unjs.io/) to handle redirects.
1.2K
You can find the source code of this project at: https://github.com/piscis/nitro-web-redirect
REDIRECT_TARGET='https://example.com' # will redirect to the target url rewrite the request protocol to https
# OR
REDIRECT_TARGET='example.com' # will prefix the request protocol (http/https) to the target url
REDIRECT_STATUS_CODE=302 # optional, default is 301
docker run \
-e REDIRECT_TARGET=https://example.com \
-e REDIRECT_STATUS_CODE=302 \
-p 3000:3000 \
piscis/nitro-web-redirect
Content type
Image
Digest
sha256:b1bda9cbd…
Size
57.7 MB
Last updated
7 months ago
docker pull piscis/nitro-web-redirect