Configure before starting the server