Docker-HTTPD-REDIRECTOR
I use the official httpd Docker Image and modify the configuration so that it will redirect every request to another website. The destination website can be configured with an docker environment variable. The redirect is configured to be a temporary redirect. Just in case the destination change often.
Environment variables
- DESTIONATION (Default: https://www.example.com)
- SERVERADMIN (Default: you@example.com)
Example
docker run -it --rm -e DESTINATION='https://www.heise.de/' -p 8080:80 cfluegel/http-redirector:latest