automatic host ip set for nginx