Image for redirecting one URL/vhost to another
10K+
This container will redirect any request to the configured URL.
docker run -d --rm --name redirect2https -p 8080:80 -e "REDIRECT_TARGET=https://google.com" ajoergensen/web-redirect
REDIRECT_TARGET: Target serverREDIRECT_PATH : URI path on target server, defaults to $request_uriREDIRECT_CODE : HTTP code to use, defaults to 301 (permanent)REDIRECT_SCHEME: http or https, defaults to $schemeContent type
Image
Digest
sha256:d881b27b6…
Size
17.7 MB
Last updated
over 1 year ago
docker pull ajoergensen/web-redirect