fix cname s3 redirect issue