fixing broken http response redirect on the cloud vms