i.e add the without parameter. Thus will proxy without adding /blog to all the URLs.
Oh also did you run the set cap command to allow caddy access to bind to the right ports? If not worth trying that first. Should be in the Ubuntu guide I linked. I will also stress I run caddy on a separate Ubuntu server not on the Pi itself so I may now become of limited use.
Also make sure you have your domain name set to forward to your home ip. I found I had most luck not using subdirectory, but setting a dedicated subdomain for each service.
Plex pass will do the reverse stuff for you so I just login at plex.tv rather than proxy my own instance.
Not trying to be silly here, but it’s often the simple things we miss. Can your pi actually see the services it’s trying to load from? I.e if you use iptables or something similar, are they opened on those ports at the destination? What OS are the services you are trying to proxy running on? Does that itself run a firewall and is that open? Looks like caddy is working but can’t find the right file to load at this point.
Uhm I think I did’t understand your first question.
Right now everything works fine if I try to connect to services without using caddy. For example I can connect to dsm.domain.com:5001 without any problem right now. The same for other services. The error happens only if I try to connect to it using caddy: domain.com/caddy
Other answer are:
plex and dsm are on my synology nas
home assistant is on the same rasperry pi where caddy is running.
No firewall installed or running on Pi (as far as I know).
Ok. So home assistant is local to the pi. And you have I assume set the relevant configuration in the http component. If all this is done, try to only proxy HA. If that works we know there’s something you need to do on the Synology.
But remember I use subdomains - each one set up in my host’s DNS to point at the public IP of my router and with only ports 443 and 80 open on my router, directed at the proxy.
I then have one blank line between this entry, and starting the next one.
… though you only need to add websocket if the thing you are proxying to uses websockets (HA does, not sure about the others).
As I use subdomains, however, I’m not sure if you need “domain.com” every time, though it seems like it should work so try the above I’ve provided and report back.