A noob question..
I try to use reverse proxy in a local network. The SERVER 192.168.1.13 hosts caddy service and several other services in different ports: 8096, 3001 etc. all with http only.
I have several names serv1.loc serv2.loc serv3.loc all pointing to 192.168.1.13
Is it possible to do some reverse proxy like this:
Thx timelordx,
I did this ! Do you think it is the orthodox way?
in fact 192.168.1.13 is a tailnet adress.
Putting http://serv1.loc in my browser serves nextcloud (with errors of course) instead of jellyfin expected…if I dont add the port in the browser (aka http://serv1.loc:8096 and I think this is not served by caddy) I dont get jellyfin.
Ah thx but I tried to avoid that, I put nextcloud in a nix container, see:
In the caddy SERVER I have these ips: (thes are not the actual adresses ok?)
192.168.3.13 tailnet adress
192.168.1.15 local adress
192.150.0.14 given by container network
nextcloud is inside a nix container with
192.150.0.15 adress
I think I did some port forwarding 80<->80 between SERVER and nextcloud container. So maybe you are right nextcloud is listening in port 80 on SERVER ! Thx. I will check out in a few days when code is available ..stay tune and thx to point out the main point