Hi, I'm using traefik with binary (no docker) on my server with Ubuntu 22.04 (IP 192.168.20.10). My Synology is running under IP IP 192.168.20.20 on port 5001 with self signed certificate.
I Think the problem is my missing understanding of traefik and http protocol.
This works
[http.routers.syno]
rule = "Host(`my.domain.com`)"
service = "syno"
[http.routers.syno.tls]
certResolver = "letsencrypt-resolver"
[http.services]
[http.services.syno.loadBalancer]
[[http.services.syno.loadBalancer.servers]]
url = "https://192.168.20.20:5001"
This is not working if I use a path like "/syno" for access -> my.domain.com/syno.
[http.routers.syno]
rule = "Host(`my.domain.com`) && Path(`/syno`)"
service = "syno"
middlewares = ["syno"]
[http.routers.syno.tls]
certResolver = "letsencrypt-resolver"
[http.services]
[http.services.syno.loadBalancer]
[[http.services.syno.loadBalancer.servers]]
url = "https://192.168.20.20:5001"
[http.middlewares]
[http.middlewares.syno.stripPrefix]
prefixes = ["/syno"]
This is the error that I receive.
How I can handle this. I want to use different services via path e.g. my.domain.com/syno, my.domain.com/service02, my.domain.com/service03 ... I have the same problem like "syno" if I try to using pihole with path.
Which part of configuration for this problem is the correct focus? Can anybody get me a hint for further investigation to handle this? Thanks