Hello everyone,
because of TrueCharts I am currently trying to deploy my services as TrueNAS Scale Apps and reach them via Nginx Proxy Manager. I don’t necessarily want to make all services accessible to the outside world, primarily this is for now, because I think it’s nice to be able to reach my services locally via a domain and a valid SSL certificate.
My TrueNAS Gui runs on 192.168.10.50 and the ports 81/444. All my apps run under the node IP 192.168.10.51. Since there are limitations with the Kubernetes ports when assigning ports, I have the Nginx Proxy Manager running as a custom app with the IP 192.168.10.52 and the standard ports 80, 81, 443.
Now I have the problem that all network services are accessible under the own domain + valid SSL certificate except for everything that runs under TrueNAS. A small excerpt from the Nginx Proxy Manager logs:
[error] 652#652: *1495 connect() failed (113: No route to host) while connecting to upstream, client: 192.168.10.99, server: my.local.service.domain.com, request: "GET / HTTP/1.1", upstream: "https://192.168.10.50:444/", host: "my.local.service.domain.com", referrer: "http://192.168.10.52:81/"
Incidentally, the DNS rewrite works via a DNS entry at Cloudflare to the local IP of the Nginx proxy manager 192.168.10.52.
Is it perhaps even necessary to use the Nginx Proxy Manager completely on its own, maybe even on a Raspberry Pi or something? Maybe you can help me with my setup. I’m not making any progress here.