I’m trying to reverse proxy a dockerized kopia server with Traefik. I’m using this grpc documentation.
I’ve added the following to my traefik dynamic file:
## EXTERNAL ROUTING - Only use if you want to proxy something manually ##
routers:
kopia:
service: srv-grpc
rule: Host(`kopia.domain.xyz`)
## SERVICES ##
services:
srv-grpc:
loadBalancer:
servers:
- url: https://192.168.1.10:51515
When navigating to kopia.domain.xyz in my browser, I’m able to access the web UI. However, I’m not able to connect to the repository from the CLI. I get the following error:
ERROR failed to open repository: unable to establish session for purpose=: error establishing session: Session(): rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp 192.168.1.10:0: connect: connection refused"
ERROR error connecting to API server: unable to establish session for purpose=: error establishing session: Session(): rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp 192.168.1.10:0: connect: connection refused"
Does anyone have experience using traefik as a reverse proxy? Or have any other tips on where I should go from here?