HUB
Sign inSign up

viossat/http-redirection

By viossat

•Updated almost 8 years ago

Redirects HTTP requests to another domain

Image
1

2.3K

viossat/http-redirection repository overview

⁠viossat/http-redirection

Redirects all HTTP requests to another domain.

  • Alpine-based, 6.1 MB
  • Redirects to the complete requested URL (with path and GET params)
  • Environment variables
    • TARGET: the target domain, example.com by default, http:// prepented if protocol not specified
    • CODE: the response code, 301 by default

⁠Usage

docker run -d -p 80:80 -e TARGET=https://example.com viossat/http-redirection
Tag summary
Recent tags
Content type
Image
Digest
Size
5.3 MB
Last updated
almost 8 years ago
docker pull viossat/http-redirection:latest