You could use split DNS on your router (or wherever your DNS is) so that when you visit the syncthing address on your local network, you’re being directed to traefik.
Comment on Finally got my server to work properly. (Routing with custom local domain instead of ports)
N0x0n@lemmy.ml 6 months agoHummm, I have a syncthing instance in a docker compose, so yeah I can access it through my ssl domain (syncthing.home.lab) but traefik takes care of everything.
Now if it’s on your local machine you’re trying to use your SSL certificate I don’t know, I always access it through the local ip (127.0.0.1:8384).
If I had to guess or give it a try, I would point the IP to my dns through my host file on my machine. But that’s just a wild guess :/
I think syncthing has a good documentation about it :)
skittlebrau@lemmy.world 6 months ago
Mir@programming.dev 6 months ago
I can access using the local ip but I can’t access using the ssl domain, I can access it but I can’t login for some reason. I can’t figure out how to fix it