Distributes http requests it receives to other http addresses by doing http redirects.
Settings are set by environment variables:
- DNS_NAME - mandatory, DNS name to check for ip addresses to redirect to
- REFRESH_TIME - optional, milliseconds to wait for recheck dns, default 5000
npm i
DNS_NAME="name.example.com" npm start
docker run -d --name http_distribute --restart=always -p 80:3000 -e DNS_NAME="name.example.com" segleralex/http-distribute-requests