Use hostnames instead of IP addresses in nginx proxy config