if supplied, server.config will be passed to server