<p>Currently I'm learning Kubernetes.
It's running on my laptop VBox.
I plan to deploy it on 'real' network, but with verry limited public IP.
So all API service and Ingress-Nginx will be on private IP address (i.e: 192.168.x.y)</p>
<p>My question is: Can I do the SSL termination on ingress-nginx if it behind HA-Proxy that only reverse-proxying TCP?</p>
<p><a href="https://i.stack.imgur.com/8cps8.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8cps8.jpg" alt="enter image description here" /></a></p>
<p>Note : The line in red is the only physical ethernet network with Public IP Address</p>
<p>Sincerely</p>
<p>-bino-</p>

Bino Oetomo
<p>ingress is more like an API gateway (reverse proxy) which routes the request to a specific backend service based on, for instance, the URL.</p>
<p>SSL Termination is part of reverse proxy. Encrypting the traffic between clients and servers protects it as it crosses a public network like the Internet. But decryption and encryption can be computationally expensive. By decrypting incoming requests and encrypting server responses, the reverse proxy frees up resources on backend servers which they can then devote to their main purpose, serving content.</p>
<p>Reverse proxy as a website’s “public face.” Its address is the one advertised for the website, and it sits at the edge of the site’s network to accept requests from web browsers and mobile apps for the content hosted at the website.</p>
<p>For more information refer to this <a href="https://www.nginx.com/resources/glossary/reverse-proxy-vs-load-balancer/" rel="nofollow noreferrer">document</a>.</p>
<p>HAProxy is a reverse proxy for TCP and HTTP applications. Users can make use of HAProxy to improve the performance of websites and applications by distributing their workloads. Performance improvements include minimized response times and increased throughput.</p>
<p><a href="https://jhooq.com/ingress-controller-nginx/" rel="nofollow noreferrer">HAProxy Ingress Controller</a> - It does all the heavy lifting when it comes to managing external traffic into a kubernetes cluster.</p>
