implement generating server configuration