Here's what I've been trying to accomplish:
I have several pi's on my network (pihole, 3d printer, etc)
On the pihole (local.list) I've forwarded the hostnames ie nick.pi -> 192.168.1.12
However I learned that you cannot specify a port this way, so it directs to port 80 which is fine.
On the pi in question I have a few services on different ports with octoprint being one of them. With haproxy I am trying to make it such that
will be redirected to :5000 and the same with other paths.
Code: Select all
I tried to use this strategy https://github.com/PrusaMK2Users/MK2_Ti ... aproxy.cfg but to no avail (503 and 404 errors) and I don't plan on exposing this, just keeping it local.
Any advice would be appreciated, thanks.