Configure the ES server based on the model