main server config