Greetings everyone.
I am fairly new in NGINX. however, I am since months using it in my Network.
I believe I grasp the basics.
I already have several services running and forward to application within my network by only exposing port 80 and 443.
I want to take it a step forward; I signed up for a free Oracle Cloud (OCI).
Works very well.
OS: Ubuntu 22.04 server
I installed docker and docker compose and Portainer-CE: all fine.
Now, my problem is that when configuring hosts, I can create even a letsencrypt certification.
The issue is that when I hopen the ports using the ingress rules of the cloud instance, it works. I have to forward to the private IP address. I do also have a subdomain pointing to the private address.
However, I like to only expose port 80 and 443.
When I delete the (example) port 80443 or 9634, my service becomes unavailable.
Now, the public (internal) IP range is 10.0.0.0/16. say, my Ubuntu is on 10.0.0.40.
When I try to forward to 10.0.0.40, I do not access the service. With or without the ingress rule.
Clearly is not as simple as in my network where I can forward to my internal public IP.
Anyone with experience here can help me?
I am using the NGINX GUI to configure it all./
If you need more info, please ask.
Thank you in advance