Modify the url of redis.