write server config