Rack::DomainRedirect is a tiny rack middleware for redirecting to the configurable domain. If user request's the service from domain other than that configured it redirects to the first domain on the configuration list. If no domain is configured it does noting and passes requests to another application in the chain.

Required Ruby Version

None

Authors

Michal Pawlowski

Versions

  1. 0.1.1 January 14, 2010 (6.5 KB)

SHA 256 checksum