Cannot get ingress gateway without tls termination working

I followed every step in the link https://istio.io/docs/examples/advanced-gateways/ingress-sni-passthrough/ to set up ingress access to the Nginx HTTPS service. But at the last step Access the NGINX service from outside the cluster, I got the error -curl: (35) gnutls_handshake() failed: The TLS connection was non-properly terminated. I checked the log of my-nginx pod, it doesn’t show request messages. Does anyone get the sample working? I deleted the configuration and repeated again, still got the same error.