Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 612 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 612 Bytes

Web Redirection Container

This is just a dead simple nginx container that will redirect everything to whatever is in the DESTINATION environment variable.

It can be tested locally with something like:

export DESTINATION='https://google.com'
docker-compose up

and then opening a browser to http://<dockerip>:8080/blah/blah and you should go to https://google.com.

There is now an option to enable deep redirection, so if you set DEEP_REDIRECT environment variable, with the same destination, going to http://<dockerip>:8080/blah/blah will redirect to https://google.com/blah/blah