Can we access website through NGINX controller using IP not hostname

I am following this document as well I need to access website using the IP and not hostname
I am already using the NGINX controller to access website using hostname and tls certificate.