apply server config