Hey @Kali, you can use Ingress for this purpose. You can use Nginx ingress controller with your own nginx proxy over it(on top of it). Set the nginx ingress controller as a NodePort service on port A for HTTP and port B for https traffic. A NodePort service makes itself available on a specified port on every node in the cluster and hence can let us access it from our nginx proxy.
Have a look at this blog for step by step implementation.
Hope this helps :)