Hello,
I have an open-webui http server running at port 8080 and git at 3000.
I was advised that the best way to get them working would be to use a reverse proxy, like traefik.
I have started out with trying to just get git to work and I came up with this:
I was advised that the best way to get them working would be to use a reverse proxy, like traefik.
That depends on your context I guess. I personally might not use traefik when outside of docker or kubernetes. Nginx, HAproxy and Caddy are alternatives.
curling the IP (or localhost)
If curling localhost on port 3000 gives you nothing then your problem might not be traefik I’d say. Curling localhost:3000 should just work in your service runs on localhost:3000.
Apart from that I am unsure if the traefik service for NixOS will automatically open firewall ports. I suspect it might not. In that case you will have to do that.
I think your servers= stanza needs to be under loadBalancer. I’m on mobile so I’m just looking at my own configs . Look under hosts/homeserver/services and at both the traefik.nix and any one of the other web-services.nix to see the router config.