Changes for reverse proxy. Object layout still a wrong on rio