A rack application that redirects naked domains