use $host to replace fixed ip.