HTTP access to the pod inside k8s cluster

I have working tunnel for ssh access to my k8s master node on the subdomain master.onlydevops.cc Now I’d like to use another subdomain nginx.onlydevops.cc to access nginx deployment. I addedd new CNAME in the cloudflare dashboard to resolve to the same Cloudflare Tunnel . and then I addded:

  • hostname: nginx.onlydevops.cc
    service: http://192.168.1.19:32336
    to the config of the cloudflare. When I do: curl -H “Host: nginx.onlydevops.cc” http://192.168.1.19:32336
    from the master it resolves to nginx deployment but when I try to access it from the browser it fails. Any help would be appreciated!