add public host to sample conf