Allow environment to configure root redirect
Merge branch 'root_redirect'