setting rack_env on docker
fix redirects without base url, and config urls